1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-23 22:20:51 +00:00
nixpkgs/pkgs/servers/etcd/default.nix
2016-06-09 13:08:10 +02:00

21 lines
416 B
Nix

{ stdenv, lib, libpcap, buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
name = "etcd-${version}";
version = "2.3.0";
rev = "v${version}";
goPackagePath = "github.com/coreos/etcd";
src = fetchFromGitHub {
inherit rev;
owner = "coreos";
repo = "etcd";
sha256 = "1cchlhsdbbqal145cvdiq7rzqqi131iq7z0r2hmzwx414k04wyn7";
};
goDeps = ./deps.json;
buildInputs = [ libpcap ];
}