nixpkgs/pkgs/servers/etcd/default.nix
edef 8578d7ab80 etcd: 3.3.1 -> 3.3.13
While I would've liked to keep them, the release branch drops the tools
directory as of v3.3.4, seemingly without explanation:
074e417770

master appears to contain them, so they might return at some point.
2019-07-09 22:55:07 +00:00

34 lines
778 B
Nix

{ lib, libpcap, buildGoPackage, fetchFromGitHub }:
with lib;
buildGoPackage rec {
name = "etcd-${version}";
version = "3.3.13"; # After updating check that nixos tests pass
rev = "v${version}";
goPackagePath = "github.com/coreos/etcd";
src = fetchFromGitHub {
inherit rev;
owner = "coreos";
repo = "etcd";
sha256 = "1kac4qfr83f2hdz35403f1ald05wc85vvhw79vxb431n61jvyaqy";
};
subPackages = [
"cmd/etcd"
"cmd/etcdctl"
];
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;
};
}