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