summary refs log tree commit diff
path: root/pkgs/servers/nosql/hyperdex/hyperleveldb.nix
blob: c39f618f6cb17109ed15ecdbdb047ceb72ca2426 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, unzip, autoconf, automake, libtool }:

stdenv.mkDerivation rec {
  name = "hyperleveldb-${version}";
  version = "1.2.1";

  src = fetchurl {
    url = "https://github.com/rescrv/HyperLevelDB/archive/releases/${version}.zip";
    sha256 = "0xrzhwkrm7f2wz3jn4iqn1dim2pmgjhmpb1fy23fwa06v0q18hw8";
  };
  buildInputs = [ unzip autoconf automake libtool ];
  preConfigure = "autoreconf -i";

  meta = with stdenv.lib; {
    description = ''A fork of LevelDB intended to meet the needs of
        HyperDex while remaining compatible with LevelDB.'';
    homepage = https://github.com/rescrv/HyperLevelDB;
    license = licenses.bsd3;
  };
}