nixpkgs/pkgs/servers/etcd/default.nix

20 lines
434 B
Nix
Raw Normal View History

2016-06-06 00:28:52 +00:00
{ stdenv, lib, libpcap, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
2016-06-04 06:40:17 +00:00
buildGoPackage rec {
name = "etcd-${version}";
version = "2.3.0";
rev = "v${version}";
goPackagePath = "github.com/coreos/etcd";
src = fetchgit {
inherit rev;
url = "https://github.com/coreos/etcd";
sha256 = "1cchlhsdbbqal145cvdiq7rzqqi131iq7z0r2hmzwx414k04wyn7";
};
goDeps = ./deps.json;
buildInputs = [ libpcap ];
}