python310Packages.pyqt6: build QtPrintSupport bindings on darwin

This commit is contained in:
Weijia Wang
2023-04-15 03:07:31 +03:00
parent 4f399bd5c4
commit 27135d545e
@@ -20,6 +20,8 @@
#, withLocation ? true
# Not currently part of PyQt6
#, withConnectivity ? true
, withPrintSupport ? true
, cups
}:
buildPythonPackage rec {
@@ -102,6 +104,10 @@ buildPythonPackage rec {
dbus-python
pyqt6-sip
setuptools
]
# ld: library not found for -lcups
++ lib.optionals (withPrintSupport && stdenv.isDarwin) [
cups
];
passthru = {