1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-05 12:02:47 +00:00
nixpkgs/pkgs/servers/etcd/default.nix

34 lines
768 B
Nix
Raw Normal View History

{ lib, libpcap, buildGoPackage, fetchFromGitHub }:
2016-06-04 07:40:17 +01:00
2016-09-03 13:02:53 +01:00
with lib;
2016-06-04 07:40:17 +01:00
buildGoPackage rec {
pname = "etcd";
version = "3.3.13"; # After updating check that nixos tests pass
2016-06-04 07:40:17 +01:00
rev = "v${version}";
2016-08-24 13:45:08 +01:00
2016-06-04 07:40:17 +01:00
goPackagePath = "github.com/coreos/etcd";
src = fetchFromGitHub {
2016-06-04 07:40:17 +01:00
inherit rev;
owner = "coreos";
repo = "etcd";
sha256 = "1kac4qfr83f2hdz35403f1ald05wc85vvhw79vxb431n61jvyaqy";
2016-06-04 07:40:17 +01:00
};
subPackages = [
"cmd/etcd"
"cmd/etcdctl"
];
2016-06-04 07:40:17 +01:00
buildInputs = [ libpcap ];
2016-09-03 13:02:53 +01:00
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;
};
2016-06-04 07:40:17 +01:00
}