Merge pull request #226217 from wegank/pyqt6-webengine-darwin

python310Packages.pyqt6: build QtPrintSupport bindings on darwin
This commit is contained in:
Weijia Wang 2023-04-15 04:26:49 +03:00 committed by GitHub
commit 9ef0f90c7f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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 = {