2016-06-06 10:26:56 +00:00
|
|
|
{ stdenv, lib, libpcap, buildGoPackage, fetchFromGitHub }:
|
2016-06-04 06:40:17 +00:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "etcd-${version}";
|
2016-08-24 12:45:08 +00:00
|
|
|
version = "3.0.6";
|
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";
|
2016-08-24 12:45:08 +00:00
|
|
|
sha256 = "163qji360y21nr1wnl16nbvvgdgqgbny4c3v3igp87q9p78sdf75";
|
2016-06-04 06:40:17 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.json;
|
|
|
|
|
|
|
|
buildInputs = [ libpcap ];
|
|
|
|
}
|