commitizen: add passthru.updateScript

This commit is contained in:
Anthony Roussel 2022-10-28 22:20:06 +02:00
parent d7266ab6d6
commit f51e59f234
No known key found for this signature in database
GPG key ID: 9DC4987B1A55E75E

View file

@ -17,6 +17,7 @@
, tomlkit
, typing-extensions
, argcomplete
, nix-update-script
}:
buildPythonApplication rec {
@ -80,6 +81,10 @@ buildPythonApplication rec {
"test_get_commits_with_signature"
];
passthru.updateScript = nix-update-script {
attrPath = pname;
};
meta = with lib; {
description = "Tool to create committing rules for projects, auto bump versions, and generate changelogs";
homepage = "https://github.com/commitizen-tools/commitizen";