2456dd0246
This patch blindly fixes the source archive checksums for the local dependencies of hyperdex. I have not looked into why those hashes changed, but I have verified that the hyperdex package now builds successfully.
58 lines
1.3 KiB
Nix
58 lines
1.3 KiB
Nix
{ stdenv, fetchurl, makeWrapper, unzip, autoconf, automake, libtool,
|
|
python, libsodium, pkgconfig, popt, glog, xz, json_c, gperf, yacc,
|
|
flex, pandoc, help2man, autoconf-archive, callPackage }:
|
|
|
|
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 = "0l7w3x6c4nslz5ijmj8xys0k1slwi3s4crxmi16ml1x32bqgzhj7";
|
|
};
|
|
|
|
buildInputs = [
|
|
autoconf
|
|
autoconf-archive
|
|
automake
|
|
busybee
|
|
glog
|
|
hyperleveldb
|
|
json_c
|
|
libe
|
|
libmacaroons
|
|
libpo6
|
|
libtool
|
|
pkgconfig
|
|
popt
|
|
python
|
|
replicant
|
|
unzip
|
|
gperf
|
|
yacc
|
|
flex
|
|
help2man
|
|
pandoc
|
|
];
|
|
preConfigure = "autoreconf -fi";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "A scalable, searchable key-value store";
|
|
homepage = http://hyperdex.org;
|
|
license = licenses.bsd3;
|
|
};
|
|
}
|