git-cliff: init at 0.2.6

This commit is contained in:
Ben Siraphob 2021-09-05 14:39:01 -05:00
parent 105b9fcb8b
commit f1312d514d
2 changed files with 31 additions and 0 deletions

View file

@ -0,0 +1,27 @@
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
rustPlatform.buildRustPackage rec {
pname = "git-cliff";
version = "0.2.6";
src = fetchFromGitHub {
owner = "orhun";
repo = "git-cliff";
rev = "v${version}";
sha256 = "sha256-oQ23jvKR4HGIMnW56FVE0XlBpO4pnMBbRXVoc6OuiHo=";
};
cargoSha256 = "sha256-49RHGOhTaYrg+JKYZMWcgSL7dxe6H50G6n9tJyGaLMQ=";
# attempts to run the program on .git in src which is not deterministic
doCheck = false;
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
meta = with lib; {
description = "A highly customizable Changelog Generator that follows Conventional Commit specifications";
homepage = "https://github.com/orhun/git-cliff";
license = licenses.gpl3Only;
maintainers = with maintainers; [ siraben ];
};
}

View file

@ -5277,6 +5277,10 @@ with pkgs;
git-cinnabar = callPackage ../applications/version-management/git-and-tools/git-cinnabar { };
git-cliff = callPackage ../applications/version-management/git-and-tools/git-cliff {
inherit (pkgs.darwin.apple_sdk.frameworks) Security;
};
git-codeowners = callPackage ../applications/version-management/git-and-tools/git-codeowners { };
git-codereview = callPackage ../applications/version-management/git-and-tools/git-codereview { };