1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-19 12:28:51 +00:00
nixpkgs/pkgs/tools/system/confd/default.nix
volth 46420bbaa3 treewide: name -> pname (easy cases) (#66585)
treewide replacement of

stdenv.mkDerivation rec {
  name = "*-${version}";
  version = "*";

to pname
2019-08-15 13:41:18 +01:00

20 lines
398 B
Nix

{ buildGoPackage, fetchFromGitHub }:
buildGoPackage rec {
pname = "confd";
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;
}