{ lib, stdenv, buildPythonPackage, fetchurl, pkg-config, dbus, lndir, setuptools, dbus-python, sip, pyqt6-sip, pyqt-builder, qt6Packages, pythonOlder, withMultimedia ? true, withWebSockets ? true, withLocation ? true, # Not currently part of PyQt6 #, withConnectivity ? true withPrintSupport ? true, cups, }: buildPythonPackage rec { pname = "pyqt6"; version = "6.7.0.dev2404081550"; format = "pyproject"; disabled = pythonOlder "3.6"; src = fetchurl { urls = [ "https://riverbankcomputing.com/pypi/packages/PyQt6/PyQt6-${version}.tar.gz" "http://web.archive.org/web/20240411124842if_/https://riverbankcomputing.com/pypi/packages/PyQt6/PyQt6-${version}.tar.gz" ]; hash = "sha256-H5qZ/rnruGh+UVSXLZyTSvjagmmli/iYq+7BaIzl1YQ="; }; patches = [ # Fix some wrong assumptions by ./project.py # TODO: figure out how to send this upstream # FIXME: make a version for PyQt6? # ./pyqt5-fix-dbus-mainloop-support.patch # confirm license when installing via pyqt6_sip ./pyqt5-confirm-license.patch ]; # be more verbose # and normalize version postPatch = '' cat >> pyproject.toml <