nixpkgs/pkgs/applications/version-management/git-chglog/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

27 lines
686 B
Nix
Raw Normal View History

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