diff options
Diffstat (limited to 'pkgs/servers/etcd/default.nix')
-rw-r--r-- | pkgs/servers/etcd/default.nix | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/pkgs/servers/etcd/default.nix b/pkgs/servers/etcd/default.nix index 2c76dfc8e31d..3d301a6a35b3 100644 --- a/pkgs/servers/etcd/default.nix +++ b/pkgs/servers/etcd/default.nix @@ -1,20 +1,30 @@ { stdenv, lib, libpcap, buildGoPackage, fetchFromGitHub }: +with lib; + buildGoPackage rec { name = "etcd-${version}"; - version = "2.3.7"; + version = "3.0.6"; # After updating check that nixos tests pass rev = "v${version}"; - + goPackagePath = "github.com/coreos/etcd"; src = fetchFromGitHub { inherit rev; owner = "coreos"; repo = "etcd"; - sha256 = "07rdnhcpnvnkxj5pqacxz669rzn5vw2i1zmf6dd4nv7wpfscdw9f"; + sha256 = "163qji360y21nr1wnl16nbvvgdgqgbny4c3v3igp87q9p78sdf75"; }; goDeps = ./deps.json; buildInputs = [ libpcap ]; + + 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; + }; } |