mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-17 02:19:30 +03:00
git-cliff: add changelog to meta
This commit is contained in:
parent
52e954da7c
commit
e6c672b59f
@ -1,4 +1,9 @@
|
|||||||
{ lib, stdenv, fetchFromGitHub, rustPlatform, Security }:
|
{ lib
|
||||||
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, rustPlatform
|
||||||
|
, Security
|
||||||
|
}:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "git-cliff";
|
pname = "git-cliff";
|
||||||
@ -8,7 +13,7 @@ rustPlatform.buildRustPackage rec {
|
|||||||
owner = "orhun";
|
owner = "orhun";
|
||||||
repo = "git-cliff";
|
repo = "git-cliff";
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-2EaPVNRcSiXN43iazK5MkZ8ytiALlnYRCH2gEtlqBW0=";
|
hash = "sha256-2EaPVNRcSiXN43iazK5MkZ8ytiALlnYRCH2gEtlqBW0=";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "sha256-kWWg3Ul6SzULdW7oOmkz5Lm2FK1vF/TkggrZcNbIzck=";
|
cargoSha256 = "sha256-kWWg3Ul6SzULdW7oOmkz5Lm2FK1vF/TkggrZcNbIzck=";
|
||||||
@ -16,11 +21,14 @@ rustPlatform.buildRustPackage rec {
|
|||||||
# attempts to run the program on .git in src which is not deterministic
|
# attempts to run the program on .git in src which is not deterministic
|
||||||
doCheck = false;
|
doCheck = false;
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
|
buildInputs = lib.optionals stdenv.isDarwin [
|
||||||
|
Security
|
||||||
|
];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A highly customizable Changelog Generator that follows Conventional Commit specifications";
|
description = "A highly customizable Changelog Generator that follows Conventional Commit specifications";
|
||||||
homepage = "https://github.com/orhun/git-cliff";
|
homepage = "https://github.com/orhun/git-cliff";
|
||||||
|
changelog = "https://github.com/orhun/git-cliff/blob/v${version}/CHANGELOG.md";
|
||||||
license = licenses.gpl3Only;
|
license = licenses.gpl3Only;
|
||||||
maintainers = with maintainers; [ siraben ];
|
maintainers = with maintainers; [ siraben ];
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user