diff --git a/pkgs/development/tools/changie/default.nix b/pkgs/development/tools/changie/default.nix index 53c4a22f59f36e..e2a9bed25099e7 100644 --- a/pkgs/development/tools/changie/default.nix +++ b/pkgs/development/tools/changie/default.nix @@ -13,12 +13,16 @@ buildGoModule rec { vendorSha256 = "sha256-9Cpyemq/f62rVMvGwOtgDGd9XllvICXL2dqNwUoFQmg="; + patches = [ ./skip-flaky-test.patch ]; + + ldflags = [ "-s" "-w" "-X=main.version=${version}" ]; + meta = with lib; { 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; platforms = platforms.unix; - maintainers = with maintainers; [ matthiasbeyer ]; + maintainers = with maintainers; [ figsoda matthiasbeyer ]; }; } - diff --git a/pkgs/development/tools/changie/skip-flaky-test.patch b/pkgs/development/tools/changie/skip-flaky-test.patch new file mode 100644 index 00000000000000..48c038ecf624de --- /dev/null +++ b/pkgs/development/tools/changie/skip-flaky-test.patch @@ -0,0 +1,10 @@ +--- a/core/change_test.go ++++ b/core/change_test.go +@@ -353,6 +353,7 @@ var _ = Describe("Change ask prompts", func() { + }) + + It("gets error for invalid body", func() { ++ Skip("") + var min int64 = 5 + submitFailed := false + config := Config{