2021-04-25 03:57:28 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2020-11-06 00:33:48 +00:00
|
|
|
|
2021-04-25 03:57:28 +00:00
|
|
|
buildGoModule rec {
|
2020-11-06 00:33:48 +00:00
|
|
|
pname = "git-chglog";
|
2022-01-03 16:56:52 +00:00
|
|
|
version = "0.15.1";
|
2020-11-06 00:33:48 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "git-chglog";
|
|
|
|
repo = "git-chglog";
|
2021-04-25 03:57:28 +00:00
|
|
|
rev = "v${version}";
|
2022-01-03 16:56:52 +00:00
|
|
|
sha256 = "sha256-UlhJ004ceXpdB/9296cL2sbBYsjV8D+3YS1vmFgnko8=";
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
|
2022-01-03 16:56:52 +00:00
|
|
|
vendorSha256 = "sha256-FLFPcmkrhZ+/UX1xpexsDv3cgC/Ocj4qTFJOX+rmdyQ=";
|
2021-04-25 03:57:28 +00:00
|
|
|
|
2021-08-27 14:25:00 +00:00
|
|
|
ldflags = [ "-s" "-w" "-X=main.Version=v${version}" ];
|
2021-04-25 03:57:28 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/git-chglog" ];
|
|
|
|
|
2020-11-06 00:33:48 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "CHANGELOG generator implemented in Go (Golang)";
|
2021-04-25 03:57:28 +00:00
|
|
|
homepage = "https://github.com/git-chglog/git-chglog";
|
2020-11-06 00:33:48 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ldenefle ];
|
|
|
|
};
|
|
|
|
}
|