forked from mirrors/nixpkgs
Merge pull request #31819 from rittelle/pyqt-qtconnectivity
pythonPackages.pyqt5: Add optional support for qtconnectivity
This commit is contained in:
commit
8e3b8a6c2a
|
@ -1,6 +1,7 @@
|
||||||
{ lib, fetchurl, pythonPackages, pkgconfig, makeWrapper, qmake
|
{ lib, fetchurl, pythonPackages, pkgconfig, makeWrapper, qmake
|
||||||
, lndir, qtbase, qtsvg, qtwebkit, qtwebengine, dbus_libs
|
, lndir, qtbase, qtsvg, qtwebkit, qtwebengine, dbus_libs
|
||||||
, withWebSockets ? false, qtwebsockets
|
, withWebSockets ? false, qtwebsockets
|
||||||
|
, withConnectivity ? false, qtconnectivity
|
||||||
}:
|
}:
|
||||||
|
|
||||||
let
|
let
|
||||||
|
@ -27,7 +28,7 @@ in buildPythonPackage {
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
lndir qtbase qtsvg qtwebkit qtwebengine dbus_libs
|
lndir qtbase qtsvg qtwebkit qtwebengine dbus_libs
|
||||||
] ++ lib.optional withWebSockets qtwebsockets;
|
] ++ lib.optional withWebSockets qtwebsockets ++ lib.optional withConnectivity qtconnectivity;
|
||||||
|
|
||||||
propagatedBuildInputs = [ sip ];
|
propagatedBuildInputs = [ sip ];
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue