gns3Packages.{server,gui}Preview: 2.1.12 -> 2.2.0a1
This commit is contained in:
parent
a111a5ee09
commit
0c4786cf76
@ -2,8 +2,7 @@
|
||||
|
||||
let
|
||||
stableVersion = "2.1.12";
|
||||
# Currently there is no preview version.
|
||||
previewVersion = stableVersion;
|
||||
previewVersion = "2.2.0a1";
|
||||
addVersion = args:
|
||||
let version = if args.stable then stableVersion else previewVersion;
|
||||
branch = if args.stable then "stable" else "preview";
|
||||
@ -19,7 +18,7 @@ in {
|
||||
};
|
||||
guiPreview = mkGui {
|
||||
stable = false;
|
||||
sha256Hash = guiSrcHash;
|
||||
sha256Hash = "16jjgfbdi7b3349wrqalf40qcaqzw3d4vdjbwcy8dbqblg48hn5w";
|
||||
};
|
||||
|
||||
serverStable = mkServer {
|
||||
@ -28,6 +27,6 @@ in {
|
||||
};
|
||||
serverPreview = mkServer {
|
||||
stable = false;
|
||||
sha256Hash = serverSrcHash;
|
||||
sha256Hash = "0bcsjljy947grfn3y9xyi3dbzdw5wkljq1nr66cqfkidx9f4fzni";
|
||||
};
|
||||
}
|
||||
|
@ -20,7 +20,7 @@ in pythonPackages.buildPythonPackage rec {
|
||||
raven psutil jsonschema # tox for check
|
||||
# Runtime dependencies
|
||||
sip (pyqt5.override { withWebSockets = true; })
|
||||
];
|
||||
] ++ stdenv.lib.optional (!stable) pythonPackages.distro;
|
||||
|
||||
doCheck = false; # Failing
|
||||
|
||||
|
@ -3,7 +3,7 @@
|
||||
{ stdenv, python36, fetchFromGitHub }:
|
||||
|
||||
let
|
||||
python = python36.override {
|
||||
python = if stable then python36.override {
|
||||
packageOverrides = self: super: {
|
||||
async-timeout = super.async-timeout.overridePythonAttrs (oldAttrs: rec {
|
||||
version = "2.0.1";
|
||||
@ -31,7 +31,7 @@ let
|
||||
++ stdenv.lib.optional (pythonOlder "3.5") typing;
|
||||
});
|
||||
};
|
||||
};
|
||||
} else python36;
|
||||
|
||||
in python.pkgs.buildPythonPackage {
|
||||
pname = "gns3-server";
|
||||
@ -48,7 +48,7 @@ in python.pkgs.buildPythonPackage {
|
||||
aiohttp-cors yarl aiohttp multidict
|
||||
jinja2 psutil zipstream raven jsonschema typing
|
||||
(python.pkgs.callPackage ../../../development/python-modules/prompt_toolkit/1.nix {})
|
||||
];
|
||||
] ++ stdenv.lib.optional (!stable) python.pkgs.distro;
|
||||
|
||||
# Requires network access
|
||||
doCheck = false;
|
||||
|
Loading…
Reference in New Issue
Block a user