2016-01-17 15:04:40 -08:00
|
|
|
{ stdenv, fetchurl, unzip, autoreconfHook, glog,
|
2014-12-12 16:20:04 -08:00
|
|
|
hyperleveldb, libe, pkgconfig, popt, libpo6, busybee }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "replicant-${version}";
|
2015-11-03 06:19:10 -08:00
|
|
|
version = "0.6.3";
|
2014-12-12 16:20:04 -08:00
|
|
|
|
|
|
|
src = fetchurl {
|
2015-11-03 06:19:10 -08:00
|
|
|
url = "https://github.com/rescrv/Replicant/archive/releases/${version}.zip";
|
|
|
|
sha256 = "1q3pdq2ndpj70yd1578bn4grlrp77gl8hv2fz34jpx34qmlalda4";
|
2014-12-12 16:20:04 -08:00
|
|
|
};
|
2016-01-17 15:04:40 -08:00
|
|
|
|
2014-12-12 16:20:04 -08:00
|
|
|
buildInputs = [
|
2016-01-17 15:04:40 -08:00
|
|
|
autoreconfHook
|
2014-12-12 16:20:04 -08:00
|
|
|
busybee
|
|
|
|
glog
|
|
|
|
hyperleveldb
|
|
|
|
libe
|
|
|
|
libpo6
|
|
|
|
pkgconfig
|
|
|
|
popt
|
|
|
|
unzip
|
|
|
|
];
|
2016-01-17 15:04:40 -08:00
|
|
|
|
2014-12-12 16:20:04 -08:00
|
|
|
meta = with stdenv.lib; {
|
2015-04-30 08:05:14 -07:00
|
|
|
description = "A system for maintaining replicated state machines";
|
2014-12-12 16:20:04 -08:00
|
|
|
homepage = https://github.com/rescrv/Replicant;
|
|
|
|
license = licenses.bsd3;
|
|
|
|
};
|
|
|
|
}
|