a425ba4985
GitOrigin-RevId: 5b091d4fbe3b7b7493c3b46fe0842e4b30ea24b3
27 lines
811 B
Nix
27 lines
811 B
Nix
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "git-cliff";
|
|
version = "0.5.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "orhun";
|
|
repo = "git-cliff";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-1ScZ8pxRN/Eot/Q+HWbWOgDWBmVLjqtPeftRsNQIJEI=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-FMlJn/mVcrHhu3gGISb1e7D2mVAocccqXRYZnMVNPqA=";
|
|
|
|
# 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 ];
|
|
};
|
|
}
|