2022-09-09 14:08:57 +00:00
|
|
|
{ lib, buildGoModule, fetchFromGitHub }:
|
|
|
|
|
|
|
|
buildGoModule rec {
|
|
|
|
pname = "changie";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "1.10.1";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
rev = "v${version}";
|
|
|
|
owner = "miniscruff";
|
|
|
|
repo = pname;
|
2022-12-17 10:02:37 +00:00
|
|
|
sha256 = "sha256-c7QEDyxk3Y/niQtVNQiS4OS/nHkldtjEcaXXR7rx/QI=";
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
|
2022-12-17 10:02:37 +00:00
|
|
|
vendorSha256 = "sha256-AoQdOw5Yw54mGmwfozkxtfo3ZhWGUbBoHc3Iqy80x38=";
|
2022-09-09 14:08:57 +00:00
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
patches = [ ./skip-flaky-test.patch ];
|
|
|
|
|
|
|
|
ldflags = [ "-s" "-w" "-X=main.version=${version}" ];
|
|
|
|
|
2022-09-09 14:08:57 +00:00
|
|
|
meta = with lib; {
|
|
|
|
homepage = "https://changie.dev";
|
2022-09-30 11:47:45 +00:00
|
|
|
changelog = "https://github.com/miniscruff/changie/blob/v${version}/CHANGELOG.md";
|
2022-09-09 14:08:57 +00:00
|
|
|
description = "Automated changelog tool for preparing releases with lots of customization options";
|
|
|
|
license = licenses.mit;
|
|
|
|
platforms = platforms.unix;
|
2022-09-30 11:47:45 +00:00
|
|
|
maintainers = with maintainers; [ figsoda matthiasbeyer ];
|
2022-09-09 14:08:57 +00:00
|
|
|
};
|
|
|
|
}
|