summary refs log tree commit diff
path: root/pkgs/applications/networking/gns3/server.nix
diff options
context:
space:
mode:
authorAnthony Roussel <anthony@roussel.dev>2022-11-10 23:07:02 +0100
committerAnthony Roussel <anthony@roussel.dev>2022-11-10 23:07:02 +0100
commit7d5785de2bf23f9a2d1f756e8c9ce7f51c6759e3 (patch)
tree72e9d1c5199b12482e6855d94bf016163386520a /pkgs/applications/networking/gns3/server.nix
parent4a5943d97d0b6dc3a07fbee6298fdcf6d4b1f4fb (diff)
downloadnixpkgs-7d5785de2bf23f9a2d1f756e8c9ce7f51c6759e3.tar
nixpkgs-7d5785de2bf23f9a2d1f756e8c9ce7f51c6759e3.tar.gz
nixpkgs-7d5785de2bf23f9a2d1f756e8c9ce7f51c6759e3.tar.bz2
nixpkgs-7d5785de2bf23f9a2d1f756e8c9ce7f51c6759e3.tar.lz
nixpkgs-7d5785de2bf23f9a2d1f756e8c9ce7f51c6759e3.tar.xz
nixpkgs-7d5785de2bf23f9a2d1f756e8c9ce7f51c6759e3.tar.zst
nixpkgs-7d5785de2bf23f9a2d1f756e8c9ce7f51c6759e3.zip
gns3-server,gns3-gui: 2.2.34 -> 2.2.35.1
Diffstat (limited to 'pkgs/applications/networking/gns3/server.nix')
-rw-r--r--pkgs/applications/networking/gns3/server.nix10
1 files changed, 2 insertions, 8 deletions
diff --git a/pkgs/applications/networking/gns3/server.nix b/pkgs/applications/networking/gns3/server.nix
index a07409810c0..94fbd403e61 100644
--- a/pkgs/applications/networking/gns3/server.nix
+++ b/pkgs/applications/networking/gns3/server.nix
@@ -33,15 +33,8 @@ in python.pkgs.buildPythonApplication {
 
   postPatch = ''
     substituteInPlace requirements.txt \
-      --replace "aiohttp==" "aiohttp>=" \
-      --replace "aiofiles==" "aiofiles>=" \
-      --replace "Jinja2==" "Jinja2>=" \
-      --replace "sentry-sdk==" "sentry-sdk>=" \
-      --replace "async-timeout==" "async-timeout>=" \
       --replace "psutil==" "psutil>=" \
-      --replace "distro==" "distro>=" \
-      --replace "py-cpuinfo==" "py-cpuinfo>=" \
-      --replace "setuptools==" "setuptools>="
+      --replace "jsonschema>=4.17.0,<4.18" "jsonschema"
   '';
 
   propagatedBuildInputs = with python.pkgs; [
@@ -50,6 +43,7 @@ in python.pkgs.buildPythonApplication {
     aiohttp-cors
     async_generator
     distro
+    importlib-resources
     jinja2
     jsonschema
     multidict