gns3-gui: 2.2.29 -> 2.2.31
This commit is contained in:
parent
29770c619a
commit
698ae84da4
1 changed files with 29 additions and 7 deletions
|
@ -1,6 +1,16 @@
|
||||||
{ stable, branch, version, sha256Hash, mkOverride, commonOverrides }:
|
{ stable
|
||||||
|
, branch
|
||||||
|
, version
|
||||||
|
, sha256Hash
|
||||||
|
, mkOverride
|
||||||
|
, commonOverrides
|
||||||
|
}:
|
||||||
|
|
||||||
{ lib, python3, fetchFromGitHub, wrapQtAppsHook }:
|
{ lib
|
||||||
|
, python3
|
||||||
|
, fetchFromGitHub
|
||||||
|
, wrapQtAppsHook
|
||||||
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
defaultOverrides = commonOverrides ++ [
|
defaultOverrides = commonOverrides ++ [
|
||||||
|
@ -34,21 +44,33 @@ in python.pkgs.buildPythonPackage rec {
|
||||||
sha256 = sha256Hash;
|
sha256 = sha256Hash;
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ wrapQtAppsHook ];
|
nativeBuildInputs = [
|
||||||
|
wrapQtAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
propagatedBuildInputs = with python.pkgs; [
|
propagatedBuildInputs = with python.pkgs; [
|
||||||
sentry-sdk psutil jsonschema # tox for check
|
distro
|
||||||
# Runtime dependencies
|
jsonschema
|
||||||
sip_4 (pyqt5.override { withWebSockets = true; }) distro setuptools
|
psutil
|
||||||
|
sentry-sdk
|
||||||
|
setuptools
|
||||||
|
sip_4 (pyqt5.override { withWebSockets = true; })
|
||||||
];
|
];
|
||||||
|
|
||||||
doCheck = false; # Failing
|
doCheck = false; # Failing
|
||||||
|
|
||||||
dontWrapQtApps = true;
|
dontWrapQtApps = true;
|
||||||
|
|
||||||
postFixup = ''
|
postFixup = ''
|
||||||
wrapQtApp "$out/bin/gns3"
|
wrapQtApp "$out/bin/gns3"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
substituteInPlace requirements.txt \
|
substituteInPlace requirements.txt \
|
||||||
--replace "sentry-sdk==1.3.1" "sentry-sdk>=1.3.1" \
|
--replace "sentry-sdk==" "sentry-sdk>=" \
|
||||||
|
--replace "psutil==" "psutil>=" \
|
||||||
|
--replace "distro==" "distro>=" \
|
||||||
|
--replace "setuptools==" "setuptools>="
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
|
Loading…
Reference in a new issue