summary refs log tree commit diff
path: root/pkgs/applications/networking/gns3/server.nix
diff options
context:
space:
mode:
authorMichael Weiss <dev.primeos@gmail.com>2020-03-26 13:45:35 +0100
committerGitHub <noreply@github.com>2020-03-26 13:45:35 +0100
commit8978ef387773d342a2ff8f78e21367c2677b02ab (patch)
tree7eb6834ca116f8a999603d7cdf1a6d0cfd832d8d /pkgs/applications/networking/gns3/server.nix
parent9ee46bfb230226118ea70c9ed364021834965d0b (diff)
downloadnixpkgs-8978ef387773d342a2ff8f78e21367c2677b02ab.tar
nixpkgs-8978ef387773d342a2ff8f78e21367c2677b02ab.tar.gz
nixpkgs-8978ef387773d342a2ff8f78e21367c2677b02ab.tar.bz2
nixpkgs-8978ef387773d342a2ff8f78e21367c2677b02ab.tar.lz
nixpkgs-8978ef387773d342a2ff8f78e21367c2677b02ab.tar.xz
nixpkgs-8978ef387773d342a2ff8f78e21367c2677b02ab.tar.zst
nixpkgs-8978ef387773d342a2ff8f78e21367c2677b02ab.zip
gns3-{gui,server}: 2.2.5 -> 2.2.6 (#83422)
Diffstat (limited to 'pkgs/applications/networking/gns3/server.nix')
-rw-r--r--pkgs/applications/networking/gns3/server.nix13
1 files changed, 5 insertions, 8 deletions
diff --git a/pkgs/applications/networking/gns3/server.nix b/pkgs/applications/networking/gns3/server.nix
index beeac9d0293..32dc42e9f51 100644
--- a/pkgs/applications/networking/gns3/server.nix
+++ b/pkgs/applications/networking/gns3/server.nix
@@ -1,11 +1,9 @@
-{ stable, branch, version, sha256Hash, mkOverride }:
+{ stable, branch, version, sha256Hash, mkOverride, commonOverrides }:
 
 { lib, stdenv, python3, fetchFromGitHub }:
 
 let
-  defaultOverrides = [
-    (mkOverride "psutil" "5.6.3"
-      "1wv31zly44qj0rp2acg58xbnc7bf6ffyadasq093l455q30qafl6")
+  defaultOverrides = commonOverrides ++ [
     (mkOverride "jsonschema" "2.6.0"
       "00kf3zmpp9ya4sydffpifn0j0mzm342a2vzh82p6r0vh10cg7xbg")
   ];
@@ -25,8 +23,6 @@ in python.pkgs.buildPythonPackage {
   };
 
   postPatch = ''
-    # Only 2.x is problematic:
-    sed -iE "s/prompt-toolkit==1.0.15/prompt-toolkit<2.0.0/" requirements.txt
     # yarl 1.4+ only requires Python 3.6+
     sed -iE "s/yarl==1.3.0//" requirements.txt
   '';
@@ -34,7 +30,7 @@ in python.pkgs.buildPythonPackage {
   propagatedBuildInputs = with python.pkgs; [
     aiohttp-cors yarl aiohttp multidict setuptools
     jinja2 psutil zipstream raven jsonschema distro async_generator aiofiles
-    (python.pkgs.callPackage ../../../development/python-modules/prompt_toolkit/1.nix {})
+    prompt_toolkit py-cpuinfo
   ];
 
   # Requires network access
@@ -51,7 +47,8 @@ in python.pkgs.buildPythonPackage {
       Qemu/KVM. Clients like the GNS3 GUI control the server using a HTTP REST
       API.
     '';
-    homepage = https://www.gns3.com/;
+    homepage = "https://www.gns3.com/";
+    changelog = "https://github.com/GNS3/gns3-server/releases/tag/v${version}";
     license = licenses.gpl3Plus;
     platforms = platforms.linux;
     maintainers = with maintainers; [ primeos ];