mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-09-11 15:08:33 +01:00
20 lines
434 B
Nix
20 lines
434 B
Nix
{ stdenv, lib, libpcap, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
|
|
|
buildGoPackage rec {
|
|
name = "etcd-${version}";
|
|
version = "2.3.0";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/coreos/etcd";
|
|
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://github.com/coreos/etcd";
|
|
sha256 = "1cchlhsdbbqal145cvdiq7rzqqi131iq7z0r2hmzwx414k04wyn7";
|
|
};
|
|
|
|
goDeps = ./deps.json;
|
|
|
|
buildInputs = [ libpcap ];
|
|
}
|