expliot: relax dependency constraints

This commit is contained in:
Fabian Affolter 2022-03-12 20:53:30 +01:00
parent 667041a35c
commit 06b3a5ac7d

View file

@ -26,7 +26,7 @@ buildPythonApplication rec {
owner = "expliot_framework";
repo = pname;
rev = version;
sha256 = "sha256-7Cuj3YKKwDxP2KKueJR9ZO5Bduv+lw0Y87Rw4b0jbGY=";
hash = "sha256-7Cuj3YKKwDxP2KKueJR9ZO5Bduv+lw0Y87Rw4b0jbGY=";
};
propagatedBuildInputs = [
@ -51,7 +51,10 @@ buildPythonApplication rec {
postPatch = ''
# https://gitlab.com/expliot_framework/expliot/-/merge_requests/113
substituteInPlace setup.py \
--replace "pynetdicom>=1.5.1,<2" "pynetdicom>=2,<3"
--replace "pynetdicom>=1.5.1,<2" "pynetdicom>=2,<3" \
--replace "cryptography>=3.0,<4" "cryptography>=35,<40" \
--replace "python-can>=3.3.3,<4" "python-can>=3.3.3,<5" \
--replace "pyparsing>=2.4.7,<3" "pyparsing>=2.4.7,<4"
'';
# Project has no tests