2019-07-31 04:38:15 +01:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "nfpm";
|
2019-09-02 00:00:00 +01:00
|
|
|
version = "0.13.0";
|
2019-07-31 04:38:15 +01:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "goreleaser";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2019-09-02 00:00:00 +01:00
|
|
|
sha256 = "0hfzk4hpk35j070hhpsjjpxhcrrddi6f1z070iypajcw96qz6lli";
|
2019-07-31 04:38:15 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|