mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
46420bbaa3
treewide replacement of stdenv.mkDerivation rec { name = "*-${version}"; version = "*"; to pname
26 lines
618 B
Nix
26 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" ];
|
|
};
|
|
}
|