commitizen: fix hash, relax deps, fix tests
This commit is contained in:
parent
4e7b8905ba
commit
c98f8fbbd1
1 changed files with 10 additions and 1 deletions
|
@ -7,6 +7,7 @@
|
|||
, lib
|
||||
, packaging
|
||||
, poetry-core
|
||||
, py
|
||||
, pytest-freezegun
|
||||
, pytest-mock
|
||||
, pytest-regressions
|
||||
|
@ -29,7 +30,7 @@ buildPythonApplication rec {
|
|||
owner = "commitizen-tools";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
hash = "sha256-Fri5WdLfDCn3NOtCGneKnAN+eOkLAJgPYBR+WBmc/bo=";
|
||||
hash = "sha256-W+k+hqH0TKQAXf1Em6A1/VdqzJkhYp99I3lbqH6iDDc=";
|
||||
deepClone = true;
|
||||
};
|
||||
|
||||
|
@ -37,6 +38,11 @@ buildPythonApplication rec {
|
|||
|
||||
nativeBuildInputs = [ poetry-core ];
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace pyproject.toml \
|
||||
--replace 'charset-normalizer = "^2.1.0"' 'charset-normalizer = "*"'
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = [
|
||||
termcolor
|
||||
questionary
|
||||
|
@ -54,6 +60,7 @@ buildPythonApplication rec {
|
|||
|
||||
checkInputs = [
|
||||
pre-commit
|
||||
py
|
||||
pytestCheckHook
|
||||
pytest-freezegun
|
||||
pytest-mock
|
||||
|
@ -81,6 +88,8 @@ buildPythonApplication rec {
|
|||
"test_bump_pre_commit_changelog"
|
||||
"test_bump_pre_commit_changelog_fails_always"
|
||||
"test_get_commits_with_signature"
|
||||
# fatal: not a git repository (or any of the parent directories): .git
|
||||
"test_commitizen_debug_excepthook"
|
||||
];
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
|
Loading…
Reference in a new issue