1{ buildGoModule, fetchFromGitHub, lib }:
2
3buildGoModule rec {
4 pname = "bump";
5 version = "0.2.3";
6
7 src = fetchFromGitHub {
8 owner = "mroth";
9 repo = pname;
10 rev = "v${version}";
11 sha256 = "sha256-tgTG/QlDxX1Ns0WpcNjwr/tvsdtgap7RcxX/JuYcxw8=";
12 };
13
14 vendorSha256 = "sha256-ZeKokW6jMiKrXLfnxwEBF+wLuFQufnPUnA/EnuhvrwI=";
15
16 doCheck = false;
17
18 ldflags = [
19 "-X main.buildVersion=${version}" "-X main.buildCommit=${version}" "-X main.buildDate=1970-01-01"
20 ];
21
22 meta = with lib; {
23 license = licenses.mit;
24 homepage = "https://github.com/mroth/bump";
25 description = "CLI tool to draft a GitHub Release for the next semantic version";
26 maintainers = with maintainers; [ doronbehar ];
27 };
28}