mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-11 08:13:04 +00:00
goreleaser: init at 0.132.0
This commit is contained in:
parent
ad3234b7d6
commit
d38d3ef514
24
pkgs/tools/misc/goreleaser/default.nix
Normal file
24
pkgs/tools/misc/goreleaser/default.nix
Normal file
@ -0,0 +1,24 @@
|
||||
{ lib, buildGoModule, fetchFromGitHub }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "goreleaser";
|
||||
version = "0.132.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "goreleaser";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "1iwxlvwsmasp8gq1yh84hl9rys0hgm9fwpmsqh2mx9ln4prm7sgq";
|
||||
};
|
||||
|
||||
modSha256 = "0a4qr8xsi4szggvzapw2ljvvvqjbyi15i4mi8myfhknlpxf65kcl";
|
||||
|
||||
buildFlagsArray = [ "-ldflags=-s -w -X main.version=${version}" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Deliver Go binaries as fast and easily as possible";
|
||||
homepage = "https://goreleaser.com";
|
||||
maintainers = [ maintainers.c0deaddict ];
|
||||
license = licenses.mit;
|
||||
};
|
||||
}
|
@ -4143,6 +4143,8 @@ in
|
||||
|
||||
gopro = callPackage ../tools/video/gopro { };
|
||||
|
||||
goreleaser = callPackage ../tools/misc/goreleaser { };
|
||||
|
||||
goreplay = callPackage ../tools/networking/goreplay { };
|
||||
|
||||
gource = callPackage ../applications/version-management/gource { };
|
||||
|
Loading…
Reference in New Issue
Block a user