14 buildPythonPackage rec {
19 disabled = pythonOlder "3.7";
24 hash = "sha256-JpF5b+kqKUphdZKlxcNeeF3JH3dZ3vnrItp532N2Izk=";
28 substituteInPlace pyproject.toml \
29 --replace "[tool.sip.project]" "[tool.sip.project]''\nsip-include-dirs = [\"${pyqt5}/${python.sitePackages}/PyQt5/bindings\"]"
32 outputs = [ "out" "dev" ];
34 enableParallelBuilding = true;
35 # HACK: paralellize compilation of make calls within pyqt's setup.py
36 # pkgs/stdenv/generic/setup.sh doesn't set this for us because
37 # make gets called by python code and not its build phase
38 # format=pyproject means the pip-build-hook hook gets used to build this project
39 # pkgs/development/interpreters/python/hooks/pip-build-hook.sh
40 # does not use the enableParallelBuilding flag
42 export MAKEFLAGS+="''${enableParallelBuilding:+-j$NIX_BUILD_CORES}"
45 dontWrapQtApps = true;
58 propagatedBuildInputs = [
67 pythonImportsCheck = [
72 description = "Python bindings for the Qt Charts library";
73 homepage = "https://riverbankcomputing.com/";
74 license = licenses.gpl3Only;
75 maintainers = with maintainers; [ panicgh ];