Merge pull request #1257 from K900/qt5-explicit-deps

overrides/pyqt5: be explicit about dependencies
This commit is contained in:
adisbladis 2023-08-14 21:34:54 +00:00 committed by GitHub
commit b059ad4c30
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -93,6 +93,25 @@ lib.composeManyExtensions [
in
pkgs."qt${selector}" or pkgs.qt5;
pyQt5Modules = qt5: with qt5; [
qt3d
qtbase
qtcharts
qtconnectivity
qtdatavis3d
qtdeclarative
qtgamepad
qtlocation
qtmultimedia
qtsensors
qtserialport
qtsvg
qtwebchannel
qtwebengine
qtwebsockets
qtx11extras
qtxmlpatterns
];
in
{
@ -2154,10 +2173,9 @@ lib.composeManyExtensions [
dontConfigure = true;
dontWrapQtApps = true;
nativeBuildInputs = old.nativeBuildInputs or [ ] ++ [
nativeBuildInputs = old.nativeBuildInputs or [ ] ++ pyQt5Modules qt5 ++ [
self.pyqt-builder
self.sip
qt5.full
];
}
);
@ -2169,9 +2187,7 @@ lib.composeManyExtensions [
super.pyqt5-qt5.overridePythonAttrs (
old: {
dontWrapQtApps = true;
propagatedBuildInputs = old.propagatedBuildInputs or [ ] ++ [
qt5.full
qt5.qtgamepad # As of 2022-05-13 not a port of qt5.full
propagatedBuildInputs = old.propagatedBuildInputs or [ ] ++ pyQt5Modules qt5 ++ [
pkgs.gtk3
pkgs.speechd
pkgs.postgresql