pythonPackages.pyqt5: Add optional support for qtconnectivity

This commit is contained in:
rittelle 2017-11-19 11:14:29 +01:00
parent daf8311ce1
commit 7fa3f8804f

View File

@ -1,6 +1,7 @@
{ lib, fetchurl, pythonPackages, pkgconfig, makeWrapper, qmake
, lndir, qtbase, qtsvg, qtwebkit, qtwebengine, dbus_libs
, withWebSockets ? false, qtwebsockets
, withConnectivity ? false, qtconnectivity
}:
let
@ -27,7 +28,7 @@ in buildPythonPackage {
buildInputs = [
lndir qtbase qtsvg qtwebkit qtwebengine dbus_libs
] ++ lib.optional withWebSockets qtwebsockets;
] ++ lib.optional withWebSockets qtwebsockets ++ lib.optional withConnectivity qtconnectivity;
propagatedBuildInputs = [ sip ];