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";
|
2023-02-02 18:25:31 +00:00
|
|
|
version = "0.15.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}";
|
2023-02-02 18:25:31 +00:00
|
|
|
sha256 = "sha256-VB3JYXz50B/SkA/q1iET7p5uhArrF8JyhAWhcxLVsg8=";
|
2020-11-06 00:33:48 +00:00
|
|
|
};
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
vendorHash = "sha256-/5s9Dvce0JWu8DaUlrtnkN6N5esEmkFvOgq0tVLZGnM=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|