2016-06-06 11:26:56 +01:00
|
|
|
{ stdenv, lib, libpcap, buildGoPackage, fetchFromGitHub }:
|
2016-06-04 07:40:17 +01:00
|
|
|
|
|
|
|
buildGoPackage rec {
|
|
|
|
name = "etcd-${version}";
|
|
|
|
version = "2.3.0";
|
|
|
|
rev = "v${version}";
|
|
|
|
|
|
|
|
goPackagePath = "github.com/coreos/etcd";
|
|
|
|
|
2016-06-06 11:26:56 +01:00
|
|
|
src = fetchFromGitHub {
|
2016-06-04 07:40:17 +01:00
|
|
|
inherit rev;
|
2016-06-06 11:26:56 +01:00
|
|
|
owner = "coreos";
|
|
|
|
repo = "etcd";
|
2016-06-04 07:40:17 +01:00
|
|
|
sha256 = "1cchlhsdbbqal145cvdiq7rzqqi131iq7z0r2hmzwx414k04wyn7";
|
|
|
|
};
|
|
|
|
|
|
|
|
goDeps = ./deps.json;
|
|
|
|
|
|
|
|
buildInputs = [ libpcap ];
|
|
|
|
}
|