diff options
author | Michael Weiss <dev.primeos@gmail.com> | 2018-12-20 21:40:21 +0100 |
---|---|---|
committer | Michael Weiss <dev.primeos@gmail.com> | 2018-12-20 21:45:09 +0100 |
commit | 7b26a5843e3719b2268c8c1664102c7994f82926 (patch) | |
tree | 31498cb5d74c4b22ddbb873222b2b7003da87014 /pkgs/applications/networking/gns3/server.nix | |
parent | 0410537561decd5fc2751bb675a2e10bb931bd6c (diff) |
gns3-server: Fix the build
This solution isn't optimal but it seems like typing has problems with Python 3.7 and prompt_toolkit 1.0.15 is still required.
Diffstat (limited to 'pkgs/applications/networking/gns3/server.nix')
-rw-r--r-- | pkgs/applications/networking/gns3/server.nix | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/pkgs/applications/networking/gns3/server.nix b/pkgs/applications/networking/gns3/server.nix index 7717862f6a0ac..f3927d8cdd290 100644 --- a/pkgs/applications/networking/gns3/server.nix +++ b/pkgs/applications/networking/gns3/server.nix @@ -1,9 +1,9 @@ { stable, branch, version, sha256Hash }: -{ stdenv, python3Packages, fetchFromGitHub, fetchurl }: +{ stdenv, python36Packages, fetchFromGitHub, fetchurl }: let - pythonPackages = python3Packages; + pythonPackages = python36Packages; async-timeout = (stdenv.lib.overrideDerivation pythonPackages.async-timeout (oldAttrs: rec { @@ -24,8 +24,7 @@ let sha256 = "8adda6583ba438a4c70693374e10b60168663ffa6564c5c75d3c7a9055290964"; }; propagatedBuildInputs = [ async-timeout ] - ++ (with pythonPackages; [ attrs chardet multidict yarl ]) - ++ stdenv.lib.optional (pythonPackages.pythonOlder "3.7") pythonPackages.idna-ssl; + ++ (with pythonPackages; [ attrs chardet multidict yarl idna-ssl ]); })); aiohttp-cors = (stdenv.lib.overrideDerivation pythonPackages.aiohttp-cors (oldAttrs: @@ -57,7 +56,7 @@ in pythonPackages.buildPythonPackage rec { ++ (with pythonPackages; [ yarl aiohttp multidict jinja2 psutil zipstream raven jsonschema typing - prompt_toolkit + (pythonPackages.callPackage ../../../development/python-modules/prompt_toolkit/1.nix {}) ]); # Requires network access |