2016-01-18 00:04:40 +01:00
|
|
|
{ stdenv, fetchurl, makeWrapper, unzip, autoreconfHook, autoconf-archive
|
|
|
|
, python, libsodium, pkgconfig, popt, glog, xz, json_c, gperf, yacc
|
|
|
|
, flex, pandoc, help2man, callPackage }:
|
2014-12-13 01:20:04 +01:00
|
|
|
|
|
|
|
assert stdenv.isLinux;
|
|
|
|
|
|
|
|
let
|
|
|
|
hyperleveldb = callPackage ./hyperleveldb.nix {};
|
|
|
|
libpo6 = callPackage ./libpo6.nix {};
|
|
|
|
libe = callPackage ./libe.nix { inherit libpo6; };
|
|
|
|
busybee = callPackage ./busybee.nix { inherit libpo6 libe; };
|
|
|
|
replicant = callPackage ./replicant.nix {
|
|
|
|
inherit libpo6 libe busybee hyperleveldb;
|
|
|
|
};
|
|
|
|
libmacaroons = callPackage ./libmacaroons.nix { };
|
|
|
|
|
|
|
|
in
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "hyperdex-${version}";
|
|
|
|
version = "1.5.0";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "https://github.com/rescrv/HyperDex/archive/releases/${version}.zip";
|
2015-11-03 15:19:10 +01:00
|
|
|
sha256 = "0l7w3x6c4nslz5ijmj8xys0k1slwi3s4crxmi16ml1x32bqgzhj7";
|
2014-12-13 01:20:04 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
2016-01-18 00:04:40 +01:00
|
|
|
autoreconfHook
|
2014-12-13 01:20:04 +01:00
|
|
|
autoconf-archive
|
|
|
|
busybee
|
|
|
|
glog
|
|
|
|
hyperleveldb
|
|
|
|
json_c
|
|
|
|
libe
|
|
|
|
libmacaroons
|
|
|
|
libpo6
|
|
|
|
pkgconfig
|
|
|
|
popt
|
|
|
|
python
|
|
|
|
replicant
|
|
|
|
unzip
|
|
|
|
gperf
|
|
|
|
yacc
|
|
|
|
flex
|
|
|
|
help2man
|
2015-01-02 14:56:24 +01:00
|
|
|
pandoc
|
2014-12-13 01:20:04 +01:00
|
|
|
];
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2015-04-30 17:05:14 +02:00
|
|
|
description = "A scalable, searchable key-value store";
|
2014-12-13 01:20:04 +01:00
|
|
|
homepage = http://hyperdex.org;
|
|
|
|
license = licenses.bsd3;
|
2016-08-02 19:50:55 +02:00
|
|
|
platforms = platforms.linux;
|
2014-12-13 01:20:04 +01:00
|
|
|
};
|
|
|
|
}
|