nixpkgs/pkgs/servers/scylladb/default.nix
Linus Heckemann 5aa4b19946 treewide: mark some broken packages as broken
Refs:
e6754980264fe927320d5ff2dbd24ca4fac9a160
1e9cc5b9844ef603fe160e9f671178f96200774f
793a2fe1e8bb886ca2096c5904e1193dc3268b6d
c19cf65261639f749012454932a532aa7c681e4b
f6544d618f30fae0bc4798c4387a8c7c9c047a7c
2019-10-08 17:14:26 +02:00

98 lines
1.5 KiB
Nix

{
stdenv,
fetchgit,
python3Packages,
pkgconfig,
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 = fetchgit {
url = "https://github.com/scylladb/scylla.git";
rev = "403f66ecad6bc773712c69c4a80ebd172eb48b13";
sha256 = "14mg0kzpkrxvwqyiy19ndy4rsc7s5gnv2gwd3xdwm1lx1ln8ywsi";
fetchSubmodules = true;
};
patches = [ ./seastar-configure-script-paths.patch ];
nativeBuildInputs = [
pkgconfig
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
'';
configurePhase = ''
./configure.py --mode=release
'';
installPhase = ''
mkdir $out
cp -r * $out/
'';
meta = with stdenv.lib; {
description = "NoSQL data store using the seastar framework, compatible with Apache Cassandra";
homepage = "https://scylladb.com";
license = licenses.agpl3;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.farlion ];
broken = true;
};
}