2018-07-21 00:44:44 +00:00
|
|
|
{ lib, libpcap, buildGoPackage, fetchFromGitHub }:
|
2016-06-04 06:40:17 +00:00
|
|
|
|
2016-09-03 12:02:53 +00:00
|
|
|
with lib;
|
|
|
|
|
2016-06-04 06:40:17 +00:00
|
|
|
buildGoPackage rec {
|
|
|
|
name = "etcd-${version}";
|
2019-07-09 22:30:40 +00:00
|
|
|
version = "3.3.13"; # After updating check that nixos tests pass
|
2016-06-04 06:40:17 +00:00
|
|
|
rev = "v${version}";
|
2016-08-24 12:45:08 +00:00
|
|
|
|
2016-06-04 06:40:17 +00:00
|
|
|
goPackagePath = "github.com/coreos/etcd";
|
|
|
|
|
2016-06-06 10:26:56 +00:00
|
|
|
src = fetchFromGitHub {
|
2016-06-04 06:40:17 +00:00
|
|
|
inherit rev;
|
2016-06-06 10:26:56 +00:00
|
|
|
owner = "coreos";
|
|
|
|
repo = "etcd";
|
2019-07-09 22:30:40 +00:00
|
|
|
sha256 = "1kac4qfr83f2hdz35403f1ald05wc85vvhw79vxb431n61jvyaqy";
|
2016-06-04 06:40:17 +00:00
|
|
|
};
|
|
|
|
|
2017-04-23 08:26:57 +00:00
|
|
|
subPackages = [
|
|
|
|
"cmd/etcd"
|
|
|
|
"cmd/etcdctl"
|
|
|
|
];
|
2016-06-04 06:40:17 +00:00
|
|
|
|
|
|
|
buildInputs = [ libpcap ];
|
2016-09-03 12:02:53 +00:00
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Distributed reliable key-value store for the most critical data of a distributed system";
|
|
|
|
license = licenses.asl20;
|
|
|
|
homepage = https://coreos.com/etcd/;
|
|
|
|
maintainers = with maintainers; [offline];
|
|
|
|
platforms = with platforms; linux;
|
|
|
|
};
|
2016-06-04 06:40:17 +00:00
|
|
|
}
|