mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 21:50:55 +00:00
bump: init at 0.2.2
This commit is contained in:
parent
8a5eb89b0f
commit
d784ae8cc2
29
pkgs/development/tools/github/bump/default.nix
Normal file
29
pkgs/development/tools/github/bump/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ buildGoModule, fetchFromGitHub, lib }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "bump";
|
||||
version = "0.2.2";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "mroth";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "0092jn7nxnr64fyb2yy9amrd8gl7q9p70a2yq9jrgr1pyrlrazbq";
|
||||
};
|
||||
|
||||
vendorSha256 = "0w5sqg1ii4vp7iijs6ffbskkj2xqggbr40j6wxrjrbjr1qisl8r1";
|
||||
|
||||
doCheck = false;
|
||||
|
||||
buildFlagsArray = [
|
||||
"-ldflags=-X main.buildVersion=${version} -X main.buildCommit=${version} -X main.buildDate=1970-01-01"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
license = licenses.mit;
|
||||
homepage = "https://github.com/mroth/bump";
|
||||
description = "CLI tool to draft a GitHub Release for the next semantic version";
|
||||
maintainers = with maintainers; [ doronbehar ];
|
||||
};
|
||||
}
|
||||
|
|
@ -10696,6 +10696,8 @@ in
|
|||
|
||||
buildkite-cli = callPackage ../development/tools/continuous-integration/buildkite-cli { };
|
||||
|
||||
bump = callPackage ../development/tools/github/bump { };
|
||||
|
||||
libbpf = callPackage ../os-specific/linux/libbpf { };
|
||||
|
||||
bpftool = callPackage ../os-specific/linux/bpftool { };
|
||||
|
|
Loading…
Reference in a new issue