14 buildPythonPackage rec {
19 disabled = pythonOlder "3.7";
24 hash = "sha256-6ng+tUbH2tLV6q+C6lBQ3eRSVamELgoddYSIHp4lqVE=";
28 substituteInPlace pyproject.toml \
29 --replace "[tool.sip.project]" "[tool.sip.project]''\nsip-include-dirs = [\"${pyqt5}/${python.sitePackages}/PyQt5/bindings\"]"
37 enableParallelBuilding = true;
38 # HACK: paralellize compilation of make calls within pyqt's setup.py
39 # pkgs/stdenv/generic/setup.sh doesn't set this for us because
40 # make gets called by python code and not its build phase
41 # format=pyproject means the pip-build-hook hook gets used to build this project
42 # pkgs/development/interpreters/python/hooks/pip-build-hook.sh
43 # does not use the enableParallelBuilding flag
45 export MAKEFLAGS+="''${enableParallelBuilding:+-j$NIX_BUILD_CORES}"
48 dontWrapQtApps = true;
57 buildInputs = [ qt3d ];
59 propagatedBuildInputs = [ pyqt5 ];
66 pythonImportsCheck = [ "PyQt5.Qt3DCore" ];
69 description = "Python bindings for the Qt 3D framework";
70 homepage = "https://riverbankcomputing.com/";
71 license = licenses.gpl3Only;
72 maintainers = with maintainers; [ panicgh ];