Mario Rodas 2024-04-15 04:20:00 +00:00
parent 5b07b1005b
commit 180cf46b4c

View file

@ -6,18 +6,19 @@
python3.pkgs.buildPythonApplication rec {
pname = "iredis";
version = "1.14.1";
version = "1.15.0";
pyproject = true;
src = fetchFromGitHub {
owner = "laixintao";
repo = "iredis";
rev = "refs/tags/v${version}";
hash = "sha256-ojS2wtxggZPp73n9SjPRAzBlnF1ScK/pNVGvAYKmQ5Y=";
rev = "v${version}";
hash = "sha256-wfjr/FVmKgkP8FMKxw6e8U+lfZQZ2q52REC0mU8Xp7Q=";
};
postPatch = ''
substituteInPlace pyproject.toml \
--replace-fail 'packaging = "^23.0"' 'packaging = "*"' \
--replace-fail 'wcwidth = "0.1.9"' 'wcwidth = "*"'
'';
@ -26,20 +27,21 @@ python3.pkgs.buildPythonApplication rec {
];
propagatedBuildInputs = with python3.pkgs; [
pygments
click
configobj
mistune
packaging
pendulum
prompt-toolkit
pygments
python-dateutil
redis
wcwidth
];
nativeCheckInputs = with python3.pkgs; [
pytestCheckHook
freezegun
pexpect
pytestCheckHook
];
pytestFlagsArray = [