mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
bbc37e0eb7
a tag
21 lines
416 B
Nix
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 ];
|
|
}
|