Merge pull request #263548 from Scrumplex/pkgs/pywebview/fix-3.11

python3Packages.pywebview: fix failing build
This commit is contained in:
OTABI Tomoya 2023-10-28 21:48:22 +09:00 committed by GitHub
commit 59cc59d621
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,7 @@
{ lib
, buildPythonPackage
, fetchFromGitHub
, setuptools-scm
, bottle
, importlib-resources
, proxy_tools
@ -17,7 +18,7 @@
buildPythonPackage rec {
pname = "pywebview";
version = "4.3.3";
format = "setuptools";
pyproject = true;
disabled = pythonOlder "3.5";
@ -29,6 +30,7 @@ buildPythonPackage rec {
};
nativeBuildInputs = [
setuptools-scm
qt5.wrapQtAppsHook
];
@ -48,6 +50,8 @@ buildPythonPackage rec {
xvfb-run
];
env.SETUPTOOLS_SCM_PRETEND_VERSION = version;
checkPhase = ''
# Cannot create directory /homeless-shelter/.... Error: FILE_ERROR_ACCESS_DENIED
export HOME=$TMPDIR