Skip to content

Commit 76723a2

Browse files
committedFeb 16, 2018
gns3Packages.server{Stable,Preview}: Pin the aiohttp version
This is required for #34891.
1 parent ce83cd7 commit 76723a2

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed
 

Diff for: ‎pkgs/applications/networking/gns3/server.nix

+14
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,16 @@
44

55
let
66
pythonPackages = python3Packages;
7+
aiohttp = (stdenv.lib.overrideDerivation pythonPackages.aiohttp
8+
(oldAttrs:
9+
rec {
10+
pname = "aiohttp";
11+
version = "2.3.10";
12+
src = pythonPackages.fetchPypi {
13+
inherit pname version;
14+
sha256 = "8adda6583ba438a4c70693374e10b60168663ffa6564c5c75d3c7a9055290964";
15+
};
16+
}));
717
aiohttp-cors = (stdenv.lib.overrideDerivation pythonPackages.aiohttp-cors
818
(oldAttrs:
919
rec {
@@ -14,6 +24,10 @@ let
1424
inherit pname version;
1525
sha256 = "11b51mhr7wjfiikvj3nc5s8c7miin2zdhl3yrzcga4mbpkj892in";
1626
};
27+
propagatedBuildInputs = [ aiohttp ]
28+
++ stdenv.lib.optional
29+
(pythonPackages.pythonOlder "3.5")
30+
pythonPackages.typing;
1731
}));
1832
in pythonPackages.buildPythonPackage rec {
1933
name = "${pname}-${version}";

0 commit comments

Comments
 (0)
Please sign in to comment.