2021-04-24 07:16:07 +00:00
|
|
|
{ lib, fetchFromGitHub, buildGoModule }:
|
2020-10-20 14:26:35 +00:00
|
|
|
|
2021-04-24 07:16:07 +00:00
|
|
|
buildGoModule rec {
|
2020-10-20 14:26:35 +00:00
|
|
|
pname = "git-chglog";
|
2023-02-19 07:54:10 +00:00
|
|
|
version = "0.15.4";
|
2020-10-20 14:26:35 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "git-chglog";
|
|
|
|
repo = "git-chglog";
|
2021-04-24 07:16:07 +00:00
|
|
|
rev = "v${version}";
|
2023-02-19 07:54:10 +00:00
|
|
|
sha256 = "sha256-rTJn2vUrEnmG2japqCxHv3BR9MpmMfpMLO2FBP6ONbw=";
|
2020-10-20 14:26:35 +00:00
|
|
|
};
|
|
|
|
|
2023-02-19 07:54:10 +00:00
|
|
|
vendorHash = "sha256-skhEHpSnxOTZrL8XLlQZL3s224mg8XRINKJnatYCQko=";
|
2021-04-24 07:16:07 +00:00
|
|
|
|
2021-08-26 06:45:51 +00:00
|
|
|
ldflags = [ "-s" "-w" "-X=main.Version=v${version}" ];
|
2021-04-24 07:16:07 +00:00
|
|
|
|
|
|
|
subPackages = [ "cmd/git-chglog" ];
|
|
|
|
|
2020-10-20 14:26:35 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "CHANGELOG generator implemented in Go (Golang)";
|
2021-04-24 07:16:07 +00:00
|
|
|
homepage = "https://github.com/git-chglog/git-chglog";
|
2020-10-20 14:26:35 +00:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ ldenefle ];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "git-chglog";
|
2020-10-20 14:26:35 +00:00
|
|
|
};
|
|
|
|
}
|