mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-15 18:23:09 +00:00
914e0e594c
https://github.com/NixOS/nixpkgs/pull/17254#issuecomment-245295541 * update docs to describe `deps.nix` * include goDeps in nix-shell GOPATH * NixOS 16.09 rel notes about replacing goPackages
31 lines
752 B
Nix
31 lines
752 B
Nix
{ stdenv, lib, libpcap, buildGoPackage, fetchFromGitHub }:
|
|
|
|
with lib;
|
|
|
|
buildGoPackage rec {
|
|
name = "etcd-${version}";
|
|
version = "3.0.6"; # After updating check that nixos tests pass
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/coreos/etcd";
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "coreos";
|
|
repo = "etcd";
|
|
sha256 = "163qji360y21nr1wnl16nbvvgdgqgbny4c3v3igp87q9p78sdf75";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
buildInputs = [ libpcap ];
|
|
|
|
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;
|
|
};
|
|
}
|