summary refs log tree commit diff
path: root/pkgs/servers/nosql/hyperdex/replicant.nix
blob: f2df744e35f13bb5d19b97cf042ae1d15d54c7f6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{ stdenv, fetchurl, unzip, autoconf, automake, libtool, glog,
  hyperleveldb, libe, pkgconfig, popt, libpo6, busybee }:

stdenv.mkDerivation rec {
  name = "replicant-${version}";
  version = "0.6.3";

  src = fetchurl {
    url = "https://github.com/rescrv/Replicant/archive/releases/${version}.zip";
    sha256 = "1q3pdq2ndpj70yd1578bn4grlrp77gl8hv2fz34jpx34qmlalda4";
  };
  buildInputs = [
    autoconf
    automake
    busybee
    glog
    hyperleveldb
    libe
    libpo6
    libtool
    pkgconfig
    popt
    unzip
  ];
  preConfigure = "autoreconf -i";
  
  meta = with stdenv.lib; {
    description = "A system for maintaining replicated state machines";
    homepage = https://github.com/rescrv/Replicant;
    license = licenses.bsd3;
  };
}