12 buildPythonPackage rec {
13 pname = "pyqt6-charts";
17 disabled = pythonOlder "3.6";
20 pname = "PyQt6_Charts";
22 sha256 = "sha256-FMxuXRnK6AEpUkpC+mMy0NXa2kKCqUI0Jea5rhtrxW0=";
25 # fix include path and increase verbosity
28 '/\[tool.sip.project\]/a\
30 sip-include-dirs = [\"${pyqt6}/${python.sitePackages}/PyQt6/bindings\"]' \
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;
47 nativeBuildInputs = with qt6Packages; [
54 buildInputs = with qt6Packages; [
58 propagatedBuildInputs = [
67 pythonImportsCheck = [
72 description = "Python bindings for Qt6 QtCharts";
73 homepage = "https://riverbankcomputing.com/";
74 license = licenses.gpl3Only;
75 platforms = platforms.mesaPlatforms;
76 maintainers = with maintainers; [ dandellion ];