mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-24 14:41:17 +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
18 lines
470 B
Nix
18 lines
470 B
Nix
{ stdenv, lib, buildGoPackage, fetchgit, fetchhg, fetchbzr, fetchsvn }:
|
|
|
|
buildGoPackage rec {
|
|
name = "serf-${version}";
|
|
version = "20150515-${stdenv.lib.strings.substring 0 7 rev}";
|
|
rev = "668982d8f90f5eff4a766583c1286393c1d27f68";
|
|
|
|
goPackagePath = "github.com/hashicorp/serf";
|
|
|
|
src = fetchgit {
|
|
inherit rev;
|
|
url = "https://github.com/hashicorp/serf";
|
|
sha256 = "1h05h5xhaj27r1mh5zshnykax29lqjhfc0bx4v9swiwb873c24qk";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
}
|