gns3-gui: 2.2.29 -> 2.2.31

This commit is contained in:
Fabian Affolter 2022-04-24 14:42:26 +02:00
parent 29770c619a
commit 698ae84da4

View file

@ -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; {