nixpkgs-suyu/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

19 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;
}