Skip to content

Instantly share code, notes, and snippets.

@mexisme
Forked from teburd/scylla.nix
Created April 24, 2019 07:43
Show Gist options
  • Save mexisme/a620040789a61205d72f86a725150f67 to your computer and use it in GitHub Desktop.
Save mexisme/a620040789a61205d72f86a725150f67 to your computer and use it in GitHub Desktop.
scylla.nix
with import <nixpkgs> {};
#{stdenv, fetchFromGitHub, python, ninja}:
stdenv.mkDerivation rec {
name = "scylla-${version}";
version = "2.1.0";
src = fetchgit {
url = "https://github.com/scylladb/scylla";
rev = "58b90ceee001474551a2d98937e26662d8e8e1c8";
sha256 = "0hq3qf9ik9h3fq9pd76raz8gwjgnhrymabs9yrb7qqcd3mpfr012";
};
nativeBuildInputs = [ python3 pkgconfig boost systemd git ];
buildInputs = [ jsoncpp libyamlcpp ];
configurePhase = ''
python configure.py
'';
enableParallelBuilding = true;
meta = with stdenv.lib; {
homepage = https://www.scylladb.com;
description = "High performance cassandra compatible distributed database";
platforms = platforms.unix;
license = licenses.agpl3;
maintainers = [];
};
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment