8a45d4525b
GitOrigin-RevId: 710fed5a2483f945b14f4a58af2cd3676b42d8c8
27 lines
811 B
Nix
27 lines
811 B
Nix
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
pname = "git-cliff";
|
|
version = "0.6.1";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "orhun";
|
|
repo = "git-cliff";
|
|
rev = "v${version}";
|
|
sha256 = "sha256-CJ/2Cv/XoLq9U7u5mexH8iCCHbGtV6xohP3FapqO3+g=";
|
|
};
|
|
|
|
cargoSha256 = "sha256-pYStKDgvvV/Z96TAonpDW7DIs1YSO6gAoiUCieVa9QY=";
|
|
|
|
# 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 ];
|
|
};
|
|
}
|