mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-14 17:53:37 +00:00
36 lines
901 B
Nix
36 lines
901 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, rustPlatform
|
|
, Security
|
|
}:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "git-cliff";
|
|
version = "1.1.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "orhun";
|
|
repo = "git-cliff";
|
|
rev = "v${version}";
|
|
hash = "sha256-GCHwpOfjti9PETy3cHFHBFBot6YcSSFTBCd3zEtpP3U=";
|
|
};
|
|
|
|
cargoHash = "sha256-76HWkfct9weA64yvY5G/l96mjNpuKjPYHFZ5Ctz43Us=";
|
|
|
|
# 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";
|
|
changelog = "https://github.com/orhun/git-cliff/blob/v${version}/CHANGELOG.md";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ siraben ];
|
|
};
|
|
}
|