46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
25 lines
618 B
Nix
25 lines
618 B
Nix
{ lib, fetchFromGitHub, buildGoPackage }:
|
|
|
|
buildGoPackage rec {
|
|
pname = "librarian-puppet-go";
|
|
version = "0.3.9";
|
|
|
|
goPackagePath = "github.com/tmtk75/librarian-puppet-go";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "tmtk75";
|
|
repo = "librarian-puppet-go";
|
|
rev = "v${version}";
|
|
sha256 = "19x2hz3b8xkhy2nkyjg6s4qvs55mh84fvjwp157a86dmxwkdf45y";
|
|
};
|
|
|
|
goDeps = ./deps.nix;
|
|
|
|
meta = with lib; {
|
|
inherit (src.meta) homepage;
|
|
description = "librarian-puppet implementation in go.";
|
|
license = licenses.mit;
|
|
maintainers = with maintainers; [ womfoo ];
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
}
|