commitizen: use argcomplete 1.12.3

This commit is contained in:
Bernardo Meurer 2022-02-22 11:27:30 -08:00
parent fde95785c9
commit e2e23aac07
No known key found for this signature in database
GPG Key ID: F4C0D53B8D14C246

View File

@ -1,24 +1,37 @@
{ buildPythonApplication { buildPythonApplication
, lib
, fetchFromGitHub
, poetry
, termcolor
, questionary
, colorama , colorama
, decli , decli
, tomlkit , fetchFromGitHub
, git
, jinja2 , jinja2
, pyyaml , lib
, argcomplete
, typing-extensions
, packaging , packaging
, pytestCheckHook , poetry
, pytest-freezegun , pytest-freezegun
, pytest-mock , pytest-mock
, pytest-regressions , pytest-regressions
, git , pytestCheckHook
, pyyaml
, questionary
, termcolor
, tomlkit
, typing-extensions
, argcomplete, fetchPypi
}: }:
let
# NOTE: Upstream requires argcomplete <2, so we make it here.
argcomplete_1 = argcomplete.overrideAttrs (old: rec {
version = "1.12.3";
src = fetchPypi {
inherit (old) pname;
inherit version;
sha256 = "sha256-LH2//YwEXqU0kh5jsL5v5l6IWZmQ2NxAisjFQrcqVEU=";
};
});
in
buildPythonApplication rec { buildPythonApplication rec {
pname = "commitizen"; pname = "commitizen";
version = "2.21.2"; version = "2.21.2";
@ -43,7 +56,7 @@ buildPythonApplication rec {
tomlkit tomlkit
jinja2 jinja2
pyyaml pyyaml
argcomplete argcomplete_1
typing-extensions typing-extensions
packaging packaging
]; ];
@ -54,7 +67,7 @@ buildPythonApplication rec {
pytest-freezegun pytest-freezegun
pytest-mock pytest-mock
pytest-regressions pytest-regressions
argcomplete argcomplete_1
git git
]; ];