commitizen: 2.38.0 -> 2.39.1

This commit is contained in:
Anthony Roussel 2023-01-14 22:20:04 +01:00
parent 3645522e0b
commit 74d3b543fa
No known key found for this signature in database
GPG key ID: 9DC4987B1A55E75E

View file

@ -1,5 +1,6 @@
{ buildPythonApplication { buildPythonApplication
, colorama , colorama
, commitizen
, decli , decli
, fetchFromGitHub , fetchFromGitHub
, git , git
@ -8,13 +9,14 @@
, packaging , packaging
, poetry-core , poetry-core
, py , py
, pytest-freezegun , pytest-freezer
, pytest-mock , pytest-mock
, pytest-regressions , pytest-regressions
, pytestCheckHook , pytestCheckHook
, pyyaml , pyyaml
, questionary , questionary
, termcolor , termcolor
, testers
, tomlkit , tomlkit
, typing-extensions , typing-extensions
, argcomplete , argcomplete
@ -24,13 +26,13 @@
buildPythonApplication rec { buildPythonApplication rec {
pname = "commitizen"; pname = "commitizen";
version = "2.38.0"; version = "2.39.1";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "commitizen-tools"; owner = "commitizen-tools";
repo = pname; repo = pname;
rev = "v${version}"; rev = "v${version}";
hash = "sha256-W+k+hqH0TKQAXf1Em6A1/VdqzJkhYp99I3lbqH6iDDc="; hash = "sha256-QQIYyg2zwV7cfFxGHVsLiTRBgTGs3O7OJcmURvfY3LQ=";
deepClone = true; deepClone = true;
}; };
@ -62,7 +64,7 @@ buildPythonApplication rec {
pre-commit pre-commit
py py
pytestCheckHook pytestCheckHook
pytest-freezegun pytest-freezer
pytest-mock pytest-mock
pytest-regressions pytest-regressions
argcomplete argcomplete
@ -92,7 +94,13 @@ buildPythonApplication rec {
"test_commitizen_debug_excepthook" "test_commitizen_debug_excepthook"
]; ];
passthru.updateScript = nix-update-script { }; passthru = {
tests.version = testers.testVersion {
package = commitizen;
command = "cz version";
};
updateScript = nix-update-script { };
};
meta = with lib; { meta = with lib; {
description = "Tool to create committing rules for projects, auto bump versions, and generate changelogs"; description = "Tool to create committing rules for projects, auto bump versions, and generate changelogs";