uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
104
pkgs/servers/scylladb/default.nix
Normal file
104
pkgs/servers/scylladb/default.nix
Normal file
|
|
@ -0,0 +1,104 @@
|
|||
{
|
||||
lib,
|
||||
fetchFromGitHub,
|
||||
python3Packages,
|
||||
pkg-config,
|
||||
gcc8Stdenv,
|
||||
boost,
|
||||
git,
|
||||
systemd,
|
||||
gnutls,
|
||||
cmake,
|
||||
makeWrapper,
|
||||
ninja,
|
||||
ragel,
|
||||
hwloc,
|
||||
jsoncpp,
|
||||
antlr3,
|
||||
numactl,
|
||||
protobuf,
|
||||
cryptopp,
|
||||
libxfs,
|
||||
libyamlcpp,
|
||||
libsystemtap,
|
||||
lksctp-tools,
|
||||
lz4,
|
||||
libxml2,
|
||||
zlib,
|
||||
libpciaccess,
|
||||
snappy,
|
||||
libtool,
|
||||
thrift
|
||||
}:
|
||||
gcc8Stdenv.mkDerivation {
|
||||
pname = "scylladb";
|
||||
version = "3.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "scylladb";
|
||||
repo = "scylla";
|
||||
rev = "403f66ecad6bc773712c69c4a80ebd172eb48b13";
|
||||
sha256 = "sha256-UXOPLA2dhspbH40/se0r+jCdiW82BR895rvnef8Er5I=";
|
||||
fetchSubmodules = true;
|
||||
};
|
||||
|
||||
patches = [ ./seastar-configure-script-paths.patch ./configure-etc-osrelease.patch ];
|
||||
|
||||
nativeBuildInputs = [
|
||||
pkg-config
|
||||
cmake
|
||||
makeWrapper
|
||||
ninja
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
antlr3
|
||||
python3Packages.pyparsing
|
||||
boost
|
||||
git
|
||||
systemd
|
||||
gnutls
|
||||
ragel
|
||||
jsoncpp
|
||||
numactl
|
||||
protobuf
|
||||
cryptopp
|
||||
libxfs
|
||||
libyamlcpp
|
||||
libsystemtap
|
||||
lksctp-tools
|
||||
lz4
|
||||
libxml2
|
||||
zlib
|
||||
libpciaccess
|
||||
snappy
|
||||
libtool
|
||||
thrift
|
||||
];
|
||||
|
||||
postPatch = ''
|
||||
patchShebangs ./configure.py
|
||||
patchShebangs seastar/json/json2code.py
|
||||
'';
|
||||
|
||||
configurePhase = ''
|
||||
./configure.py --mode=release
|
||||
'';
|
||||
|
||||
installPhase = ''
|
||||
mkdir $out
|
||||
cp -r * $out/
|
||||
'';
|
||||
|
||||
requiredSystemFeatures = [ "big-parallel" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "NoSQL data store using the seastar framework, compatible with Apache Cassandra";
|
||||
homepage = "https://scylladb.com";
|
||||
license = licenses.agpl3;
|
||||
platforms = lib.platforms.linux;
|
||||
hydraPlatforms = []; # It's huge ATM, about 18 GB.
|
||||
maintainers = [ lib.maintainers.farlion ];
|
||||
broken = true;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue