nixpkgs/pkgs/servers/etcd/default.nix

21 lines
416 B
Nix
Raw Normal View History

{ stdenv, lib, libpcap, buildGoPackage, fetchFromGitHub }:
2016-06-04 06:40:17 +00:00
buildGoPackage rec {
name = "etcd-${version}";
2016-07-18 10:49:08 +00:00
version = "2.3.7";
2016-06-04 06:40:17 +00:00
rev = "v${version}";
goPackagePath = "github.com/coreos/etcd";
src = fetchFromGitHub {
2016-06-04 06:40:17 +00:00
inherit rev;
owner = "coreos";
repo = "etcd";
2016-07-18 10:49:08 +00:00
sha256 = "07rdnhcpnvnkxj5pqacxz669rzn5vw2i1zmf6dd4nv7wpfscdw9f";
2016-06-04 06:40:17 +00:00
};
goDeps = ./deps.json;
buildInputs = [ libpcap ];
}