mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +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
20 lines
421 B
Nix
20 lines
421 B
Nix
{ stdenv, lib, buildGoPackage, fetchFromGitHub }:
|
|
|
|
buildGoPackage rec {
|
|
name = "confd-${version}";
|
|
version = "0.9.0";
|
|
rev = "v${version}";
|
|
|
|
goPackagePath = "github.com/kelseyhightower/confd";
|
|
subPackages = [ "./" ];
|
|
|
|
src = fetchFromGitHub {
|
|
inherit rev;
|
|
owner = "kelseyhightower";
|
|
repo = "confd";
|
|
sha256 = "0rz533575hdcln8ciqaz79wbnga3czj243g7fz8869db6sa7jwlr";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
}
|