2019-07-31 04:38:15 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "nfpm";
|
2020-07-03 00:31:38 +01:00
|
|
|
version = "1.3.2";
|
2019-07-31 04:38:15 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "goreleaser";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-07-03 00:31:38 +01:00
|
|
|
sha256 = "1z6z4ad5id6bcxzd8p76akxwvf5jzr54w81798ri9lysf4hdi6sh";
|
2019-07-31 04:38:15 +01:00
|
|
|
};
|
|
|
|
|
2020-07-03 00:31:38 +01:00
|
|
|
vendorSha256 = "0v14j4vsp7f29xajym2dd2zlfv0sqhb04qfs76bcnn0ys6j1xkny";
|
2019-10-19 22:20:00 +01:00
|
|
|
|
|
|
|
buildFlagsArray = [ "-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";
|
|
|
|
maintainers = [ maintainers.marsam ];
|
|
|
|
license = licenses.mit;
|
|
|
|
};
|
2020-07-31 04:58:04 +01:00
|
|
|
}
|