2014-12-13 01:20:04 +01:00
|
|
|
{ stdenv, fetchurl, makeWrapper, unzip, autoconf, automake, libtool,
|
2015-05-10 00:20:02 +02:00
|
|
|
python, libsodium, pkgconfig, popt, glog, xz, json_c, gperf, yacc,
|
2015-01-02 14:56:24 +01:00
|
|
|
flex, pandoc, help2man, autoconf-archive, 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";
|
|
|
|
sha256 = "0s1capy2hj45f5rmdb4fk0wxy7vz69krplhba57f6wrkpcz1zb57";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
autoconf
|
|
|
|
autoconf-archive
|
|
|
|
automake
|
|
|
|
busybee
|
|
|
|
glog
|
|
|
|
hyperleveldb
|
|
|
|
json_c
|
|
|
|
libe
|
|
|
|
libmacaroons
|
|
|
|
libpo6
|
|
|
|
libtool
|
|
|
|
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
|
|
|
];
|
|
|
|
preConfigure = "autoreconf -fi";
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|