git.iko.soy/typeable/nixpkgs
on master help sign in
gns3Packages.{server,gui}Preview: 2.1.0rc3 -> 2.1.0rc4
commitc4dbbbd890519fb791c51b9dc985a445df0806e2 authorMichael Weiss <dev.primeos@gmail.com> dateWed 8 Nov 2017, 14:48 (9 years ago) parent8bc70c8
2 files changed+36−6
pkgs/applications/networking/gns3/default.nix+3−3 pkgs/applications/networking/gns3/server.nix+33−3
pkgs/applications/networking/gns3/default.nix+3−3
@@ -2,7 +2,7 @@
22
33let
44 stableVersion = "2.0.3";
5− previewVersion = "2.1.0rc3";
5+ previewVersion = "2.1.0rc4";
66 addVersion = args:
77 let version = if args.stable then stableVersion else previewVersion;
88 branch = if args.stable then "stable" else "preview";
@@ -16,7 +16,7 @@ in {
1616 };
1717 guiPreview = mkGui {
1818 stable = false;
19− sha256Hash = "0yc5lr01xb7lk4dsrwx79mimbr91vldpvqbrx37j3kym6p5m84cn";
19+ sha256Hash = "10p8i45n6qsf431d0xpy5dk3g5qh6zdlnfj82jn9xdyccgxs4x3s";
2020 };
2121
2222 serverStable = mkServer {
@@ -25,6 +25,6 @@ in {
2525 };
2626 serverPreview = mkServer {
2727 stable = false;
28− sha256Hash = "1lac88d9cmlhrwmlvxv1sk86600rwznw3lpsm440bax6qbdfcis3";
28+ sha256Hash = "1z8a3s90k86vmi4rwsd3v74gwvml68ci6f3zgxaji3z1sm22zcyd";
2929 };
3030}
pkgs/applications/networking/gns3/server.nix+33−3
@@ -4,7 +4,23 @@
44
55let
66 pythonPackages = python3Packages;
7− yarl = if (!stable) then pythonPackages.yarl
7+ # TODO: Not sure if all these overwrites are really required...
8+ # Upstream seems to have some reasons (bugs, incompatibilities) though.
9+ multidict_3_1_3 =
10+ (stdenv.lib.overrideDerivation pythonPackages.multidict (oldAttrs:
11+ rec {
12+ pname = "multidict";
13+ version = "3.1.3";
14+ name = "${pname}-${version}";
15+ src = pythonPackages.fetchPypi {
16+ inherit pname version;
17+ sha256 = "04kdxh19m41c6vbshwk8jfbidsfsqn7mn0abvx09nyg78sh80pw7";
18+ };
19+ doInstallCheck = false;
20+ }));
21+ yarl = if (!stable)
22+ then (stdenv.lib.overrideDerivation pythonPackages.yarl (oldAttrs:
23+ { propagatedBuildInputs = [ multidict_3_1_3 ]; }))
824 else (stdenv.lib.overrideDerivation pythonPackages.yarl (oldAttrs:
925 rec {
1026 pname = "yarl";
@@ -15,7 +31,19 @@ let
1531 sha256 = "1v2dsmr7bqp0yx51pwhbxyvzza8m2f88prsnbd926mi6ah38p0d7";
1632 };
1733 }));
18− aiohttp = if (!stable) then pythonPackages.aiohttp
34+ aiohttp = if (!stable)
35+ then (stdenv.lib.overrideDerivation pythonPackages.aiohttp (oldAttrs:
36+ rec {
37+ pname = "aiohttp";
38+ version = "2.2.5";
39+ name = "${pname}-${version}";
40+ src = pythonPackages.fetchPypi {
41+ inherit pname version;
42+ sha256 = "1g6kzkf5in0briyscwxsihgps833dq2ggcq6lfh1hq95ck8zsnxg";
43+ };
44+ propagatedBuildInputs = [ yarl multidict_3_1_3 ]
45+ ++ (with pythonPackages; [ async-timeout chardet ]);
46+ }))
1947 else (stdenv.lib.overrideDerivation pythonPackages.aiohttp (oldAttrs:
2048 rec {
2149 pname = "aiohttp";
@@ -28,7 +56,9 @@ let
2856 propagatedBuildInputs = [ yarl ]
2957 ++ (with pythonPackages; [ async-timeout chardet multidict ]);
3058 }));
31− aiohttp-cors = if (!stable) then pythonPackages.aiohttp-cors
59+ aiohttp-cors = if (!stable)
60+ then (stdenv.lib.overrideDerivation pythonPackages.aiohttp-cors (oldAttrs:
61+ { propagatedBuildInputs = [ aiohttp ]; }))
3262 else (stdenv.lib.overrideDerivation pythonPackages.aiohttp-cors (oldAttrs:
3363 rec {
3464 pname = "aiohttp-cors";