diff options
author | Sarah Brofeldt <sbrofeldt@gmail.com> | 2019-08-03 08:43:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-08-03 08:43:10 +0200 |
commit | 24f3b88efc14f9069791016ab27866bdf4afbfee (patch) | |
tree | 2201ca6bb681c5699ac892ba9fc29a2640a8dade /pkgs/tools/package-management | |
parent | bf4cddf13bee02a3bb03d779dd54d96ba42e2979 (diff) | |
parent | 4133064047a8b59e1dc7553d9629821b84405f1e (diff) |
Merge pull request #65621 from marsam/init-nfpm
nfpm: init at 0.12.0
Diffstat (limited to 'pkgs/tools/package-management')
-rw-r--r-- | pkgs/tools/package-management/nfpm/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/tools/package-management/nfpm/default.nix b/pkgs/tools/package-management/nfpm/default.nix new file mode 100644 index 000000000000..5cbb207ec4f4 --- /dev/null +++ b/pkgs/tools/package-management/nfpm/default.nix @@ -0,0 +1,22 @@ +{ lib, buildGoModule, fetchFromGitHub }: + +buildGoModule rec { + pname = "nfpm"; + version = "0.12.0"; + + src = fetchFromGitHub { + owner = "goreleaser"; + repo = pname; + rev = "v${version}"; + sha256 = "090mxkmbfzi3mby18zhrr34fr6vzc7j0r2ss3rjr5lyfgilw1qwr"; + }; + + modSha256 = "02nkqmljb528ppsr2dw2r3rc83j3qmys3a8v0a1z2b4sq2sv1v7w"; + + meta = with lib; { + description = "A simple deb and rpm packager written in Go"; + homepage = "https://github.com/goreleaser/nfpm"; + maintainers = [ maintainers.marsam ]; + license = licenses.mit; + }; +} |