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-04-25 03:57:28 +00:00
|
|
|
version = "0.14.2";
|
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}";
|
|
|
|
sha256 = "124bqywkj37gv61fswgrg528bf3rjqms1664x22lkn0sqh22zyv1";
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
|
2021-04-25 03:57:28 +00:00
|
|
|
vendorSha256 = "09zjypmcc3ra7sw81q1pbbrlpxxp4k00p1cfkrrih8wvb25z89h5";
|
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|
|
|
|
|