diff options
author | figsoda <figsoda@pm.me> | 2023-02-05 17:40:05 -0500 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-02-05 17:44:07 -0500 |
commit | 9401837d22a77468fab610d2c441bb77ee340f60 (patch) | |
tree | 010a2db595e8d773803b07921f3037b0a07f5064 /pkgs/development/tools/changie/default.nix | |
parent | 28116031e25579216521f7b091160cb0f355e058 (diff) |
changie: 1.11.0 -> 1.11.1
Diff: https://github.com/miniscruff/changie/compare/v1.11.0...v1.11.1 Changelog: https://github.com/miniscruff/changie/blob/v1.11.1/CHANGELOG.md
Diffstat (limited to 'pkgs/development/tools/changie/default.nix')
-rw-r--r-- | pkgs/development/tools/changie/default.nix | 23 |
1 files changed, 19 insertions, 4 deletions
diff --git a/pkgs/development/tools/changie/default.nix b/pkgs/development/tools/changie/default.nix index d108422919f96..79d105128ba96 100644 --- a/pkgs/development/tools/changie/default.nix +++ b/pkgs/development/tools/changie/default.nix @@ -1,24 +1,39 @@ -{ lib, buildGoModule, fetchFromGitHub }: +{ lib +, buildGoModule +, fetchFromGitHub +, installShellFiles +}: buildGoModule rec { pname = "changie"; - version = "1.11.0"; + version = "1.11.1"; src = fetchFromGitHub { rev = "v${version}"; owner = "miniscruff"; repo = pname; - sha256 = "sha256-hnRK9pj5NruSRvo2oetyRMVwhO7T/wSEZjcbYHb7ZUY="; + sha256 = "sha256-IZiGNmVEOJf7sqJHXCXxptfy79mSnyyyiqf+oS41MgI="; }; vendorSha256 = "sha256-0/3Ou8z6yLWhc81hdN2gkaFLLlKQWUGcIdvRHVLTrjQ="; + nativeBuildInputs = [ + installShellFiles + ]; + ldflags = [ "-s" "-w" "-X=main.version=${version}" ]; + postInstall = '' + installShellCompletion --cmd changie \ + --bash <($out/bin/changie completion bash) \ + --fish <($out/bin/changie completion fish) \ + --zsh <($out/bin/changie completion zsh) + ''; + meta = with lib; { + description = "Automated changelog tool for preparing releases with lots of customization options"; homepage = "https://changie.dev"; changelog = "https://github.com/miniscruff/changie/blob/v${version}/CHANGELOG.md"; - description = "Automated changelog tool for preparing releases with lots of customization options"; license = licenses.mit; maintainers = with maintainers; [ figsoda matthiasbeyer ]; }; |