3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/package-management/nfpm/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
649 B
Nix
Raw Normal View History

2019-07-31 04:38:15 +01:00
{ lib, buildGoModule, fetchFromGitHub }:
buildGoModule rec {
pname = "nfpm";
2022-11-19 15:28:06 +00:00
version = "2.22.1";
2019-07-31 04:38:15 +01:00
src = fetchFromGitHub {
owner = "goreleaser";
repo = pname;
rev = "v${version}";
2022-11-19 15:28:06 +00:00
sha256 = "sha256-BdPY1DzF2zunhEp7Z13X3jOxhTPHHUejAe7HZSoexYk=";
2019-07-31 04:38:15 +01:00
};
2022-11-12 15:44:20 +00:00
vendorSha256 = "sha256-fvSA0BQQKhXxyNu0/ilNcMmTBtLm/piA4rJu6p5+8GU=";
2021-08-26 07:45:51 +01:00
ldflags = [ "-s" "-w" "-X main.version=${version}" ];
2019-07-31 04:38:15 +01:00
meta = with lib; {
description = "A simple deb and rpm packager written in Go";
homepage = "https://github.com/goreleaser/nfpm";
2022-03-19 03:24:36 +00:00
maintainers = with maintainers; [ marsam techknowlogick ];
license = with licenses; [ mit ];
2019-07-31 04:38:15 +01:00
};
}