mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 06:47:09 +03:00
21 lines
416 B
Nix
21 lines
416 B
Nix
{ stdenv, lib, libpcap, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "etcd-${version}";
|
|
version = "2.3.7";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/coreos/etcd";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "coreos";
|
|
repo = "etcd";
|
|
sha256 = "07rdnhcpnvnkxj5pqacxz669rzn5vw2i1zmf6dd4nv7wpfscdw9f";
|
|
};
|
|
|
|
goDeps = ./deps.json;
|
|
|
|
buildInputs = [ libpcap ];
|
|
}
|