gns3-{gui,server}: fix build

This commit is contained in:
Anthony Roussel 2022-12-16 22:28:08 +01:00
parent cc61e004f2
commit 8e271f170f
No known key found for this signature in database
GPG Key ID: 9DC4987B1A55E75E
2 changed files with 4 additions and 2 deletions

View File

@ -46,7 +46,8 @@ python3.pkgs.buildPythonPackage rec {
postPatch = ''
substituteInPlace requirements.txt \
--replace "psutil==" "psutil>=" \
--replace "jsonschema>=4.17.0,<4.18" "jsonschema"
--replace "jsonschema>=4.17.0,<4.18" "jsonschema" \
--replace "sentry-sdk==1.10.1,<1.11" "sentry-sdk"
'';
meta = with lib; {

View File

@ -24,7 +24,8 @@ python3.pkgs.buildPythonApplication {
postPatch = ''
substituteInPlace requirements.txt \
--replace "psutil==" "psutil>=" \
--replace "jsonschema>=4.17.0,<4.18" "jsonschema"
--replace "jsonschema>=4.17.0,<4.18" "jsonschema" \
--replace "sentry-sdk==1.10.1,<1.11" "sentry-sdk"
'';
propagatedBuildInputs = with python3.pkgs; [