pyqt5: propagate Qt dependencies
This is so that Qt user environment packages are also propagated. Fixes Electrum environment installations when no other Qt applications are installed. Added `dev` output so that closure size won't explode.
This commit is contained in:
parent
9b5669b5a6
commit
b1b4c6c4eb
@ -9,6 +9,7 @@ let
|
|||||||
version = "5.10";
|
version = "5.10";
|
||||||
|
|
||||||
inherit (pythonPackages) buildPythonPackage python dbus-python sip;
|
inherit (pythonPackages) buildPythonPackage python dbus-python sip;
|
||||||
|
|
||||||
in buildPythonPackage {
|
in buildPythonPackage {
|
||||||
pname = pname;
|
pname = pname;
|
||||||
version = version;
|
version = version;
|
||||||
@ -27,14 +28,16 @@ in buildPythonPackage {
|
|||||||
sha256 = "0l2zy6b7bfjxmg4bb8yikg6i8iy2xdwmvk7knfmrzfpqbmkycbrl";
|
sha256 = "0l2zy6b7bfjxmg4bb8yikg6i8iy2xdwmvk7knfmrzfpqbmkycbrl";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ pkgconfig qmake ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
buildInputs = [
|
nativeBuildInputs = [ pkgconfig qmake lndir ];
|
||||||
lndir qtbase qtsvg qtwebkit qtwebengine dbus_libs
|
|
||||||
|
buildInputs = [ dbus_libs ];
|
||||||
|
|
||||||
|
propagatedBuildInputs = [
|
||||||
|
sip qtbase qtsvg qtwebkit qtwebengine
|
||||||
] ++ lib.optional withWebSockets qtwebsockets ++ lib.optional withConnectivity qtconnectivity;
|
] ++ lib.optional withWebSockets qtwebsockets ++ lib.optional withConnectivity qtconnectivity;
|
||||||
|
|
||||||
propagatedBuildInputs = [ sip ];
|
|
||||||
|
|
||||||
configurePhase = ''
|
configurePhase = ''
|
||||||
runHook preConfigure
|
runHook preConfigure
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user