14 buildPythonPackage rec {
15 pname = "pyqt6-webengine";
19 disabled = pythonOlder "3.6";
22 pname = "PyQt6_WebEngine";
24 hash = "sha256-1QuYTD+F5AnmkrFWEychUi1OjPm2wl4M+Sfuot+zlIc=";
27 # fix include path and increase verbosity
30 '/\[tool.sip.project\]/a\
32 sip-include-dirs = [\"${pyqt6}/${python.sitePackages}/PyQt6/bindings\"]' \
36 enableParallelBuilding = true;
37 # HACK: paralellize compilation of make calls within pyqt's setup.py
38 # pkgs/stdenv/generic/setup.sh doesn't set this for us because
39 # make gets called by python code and not its build phase
40 # format=pyproject means the pip-build-hook hook gets used to build this project
41 # pkgs/development/interpreters/python/hooks/pip-build-hook.sh
42 # does not use the enableParallelBuilding flag
44 export MAKEFLAGS+=" -j$NIX_BUILD_CORES"
47 outputs = [ "out" "dev" ];
49 dontWrapQtApps = true;
51 nativeBuildInputs = with qt6Packages; [
60 buildInputs = with qt6Packages; [
64 propagatedBuildInputs = [
74 # Checked using pythonImportsCheck, has no tests
77 pythonImportsCheck = [
78 "PyQt6.QtWebEngineCore"
79 "PyQt6.QtWebEngineQuick"
80 "PyQt6.QtWebEngineWidgets"
84 description = "Python bindings for Qt6 WebEngine";
85 homepage = "https://riverbankcomputing.com/";
86 license = licenses.gpl3Only;
87 platforms = platforms.mesaPlatforms;
88 maintainers = with maintainers; [ LunNova nrdxp ];