mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 15:11:25 +00:00
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.
This commit is contained in:
parent
0410537561
commit
7b26a5843e
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user