12 buildPythonPackage rec {
13 pname = "PyQt6_Charts";
17 disabled = pythonOlder "3.6";
20 inherit pname version;
21 sha256 = "sha256-b/APZbJRf5m/EG3dKMdvPKNE+R7PW6aBkeIKLZACSWI=";
24 # fix include path and increase verbosity
27 '/\[tool.sip.project\]/a\
29 sip-include-dirs = [\"${pyqt6}/${python.sitePackages}/PyQt6/bindings\"]' \
33 enableParallelBuilding = true;
34 # HACK: paralellize compilation of make calls within pyqt's setup.py
35 # pkgs/stdenv/generic/setup.sh doesn't set this for us because
36 # make gets called by python code and not its build phase
37 # format=pyproject means the pip-build-hook hook gets used to build this project
38 # pkgs/development/interpreters/python/hooks/pip-build-hook.sh
39 # does not use the enableParallelBuilding flag
41 export MAKEFLAGS+="''${enableParallelBuilding:+-j$NIX_BUILD_CORES}"
44 dontWrapQtApps = true;
46 nativeBuildInputs = with qt6Packages; [
53 buildInputs = with qt6Packages; [
57 propagatedBuildInputs = [
66 pythonImportsCheck = [
71 description = "Python bindings for Qt6 QtCharts";
72 homepage = "https://riverbankcomputing.com/";
73 license = licenses.gpl3Only;
74 platforms = platforms.mesaPlatforms;
75 maintainers = with maintainers; [ dandellion ];