commitizen: fix build after argcomplete update

This commit is contained in:
Sandro Jäckel 2023-03-13 11:20:16 +01:00
parent efb6a85e38
commit 6419b97e49
No known key found for this signature in database
GPG Key ID: B1763F8651144063

View File

@ -1,4 +1,5 @@
{ buildPythonApplication
, charset-normalizer
, colorama
, commitizen
, decli
@ -41,10 +42,12 @@ buildPythonApplication rec {
postPatch = ''
substituteInPlace pyproject.toml \
--replace 'charset-normalizer = "^2.1.0"' 'charset-normalizer = "*"'
--replace 'charset-normalizer = "^2.1.0"' 'charset-normalizer = "*"' \
--replace 'argcomplete = ">=1.12.1,<2.1"' 'argcomplete = ">=1.12.1"'
'';
propagatedBuildInputs = [
charset-normalizer
termcolor
questionary
colorama