summary refs log tree commit diff
path: root/pkgs/servers/etcd/default.nix
diff options
context:
space:
mode:
authorKevin Cox <kevincox@kevincox.ca>2017-04-23 09:26:57 +0100
committerKevin Cox <kevincox@kevincox.ca>2017-04-23 09:26:57 +0100
commit32d649eb80d5b65da9d32146ba21605a913859a7 (patch)
tree1adce556897aca6bd09554a958727efd8813ff2a /pkgs/servers/etcd/default.nix
parent5cdf1928273742e050e98ff6e969eb4d98de07c7 (diff)
downloadnixlib-32d649eb80d5b65da9d32146ba21605a913859a7.tar
nixlib-32d649eb80d5b65da9d32146ba21605a913859a7.tar.gz
nixlib-32d649eb80d5b65da9d32146ba21605a913859a7.tar.bz2
nixlib-32d649eb80d5b65da9d32146ba21605a913859a7.tar.lz
nixlib-32d649eb80d5b65da9d32146ba21605a913859a7.tar.xz
nixlib-32d649eb80d5b65da9d32146ba21605a913859a7.tar.zst
nixlib-32d649eb80d5b65da9d32146ba21605a913859a7.zip
etcd: 3.0.6 -> 3.1.6
Upgrade etcd.

- Switches from their old dependency version system to their vendored packages.
- Fixes SSL support.
Diffstat (limited to 'pkgs/servers/etcd/default.nix')
-rw-r--r--pkgs/servers/etcd/default.nix12
1 files changed, 9 insertions, 3 deletions
diff --git a/pkgs/servers/etcd/default.nix b/pkgs/servers/etcd/default.nix
index 16189fb47234..15ea30aa16cb 100644
--- a/pkgs/servers/etcd/default.nix
+++ b/pkgs/servers/etcd/default.nix
@@ -4,7 +4,7 @@ with lib;
 
 buildGoPackage rec {
   name = "etcd-${version}";
-  version = "3.0.6"; # After updating check that nixos tests pass
+  version = "3.1.6"; # After updating check that nixos tests pass
   rev = "v${version}";
 
   goPackagePath = "github.com/coreos/etcd";
@@ -13,10 +13,16 @@ buildGoPackage rec {
     inherit rev;
     owner = "coreos";
     repo = "etcd";
-    sha256 = "163qji360y21nr1wnl16nbvvgdgqgbny4c3v3igp87q9p78sdf75";
+    sha256 = "1qgi6zxnijzr644w2da2gbn3gw2qwk6a3z3qmdln0r2rjnm70sx0";
   };
 
-  goDeps = ./deps.nix;
+  subPackages = [
+    "cmd/etcd"
+    "cmd/etcdctl"
+    "cmd/tools/benchmark"
+    "cmd/tools/etcd-dump-db"
+    "cmd/tools/etcd-dump-logs"
+  ];
 
   buildInputs = [ libpcap ];