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";
|
2021-08-22 07:53:02 +00:00
|
|
|
version = "0.15.0";
|
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}";
|
2021-08-22 07:53:02 +00:00
|
|
|
sha256 = "sha256-BiTnPCgymfpPxuy0i8u7JbpbEBeaSIJaikjwsPSA3qc=";
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
|
2021-08-22 07:53:02 +00:00
|
|
|
vendorSha256 = "sha256-jIq+oacyT71m78iMZwWOBsBVAY/WxgyH9zRr8GiMGTU=";
|
2021-04-25 03:57:28 +00:00
|
|
|
|
|
|
|
buildFlagsArray = [ "-ldflags= -s -w -X=main.Version=v${version}" ];
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|