14 buildPythonPackage rec {
15 pname = "pyqt6-charts";
19 disabled = pythonOlder "3.6";
22 pname = "PyQt6_Charts";
24 hash = "sha256-xPfPNpko978DLk4z9xjTuP5m2hdtSVn+MHNalw2G81w=";
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+="''${enableParallelBuilding:+-j$NIX_BUILD_CORES}"
47 dontWrapQtApps = true;
49 nativeBuildInputs = with qt6Packages; [
56 buildInputs = with qt6Packages; [ qtcharts ];
58 propagatedBuildInputs = [ pyqt6 ];
65 pythonImportsCheck = [ "PyQt6.QtCharts" ];
68 description = "Python bindings for Qt6 QtCharts";
69 homepage = "https://riverbankcomputing.com/";
70 license = licenses.gpl3Only;
71 inherit (mesa.meta) platforms;
72 maintainers = with maintainers; [ dandellion ];