3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #31819 from rittelle/pyqt-qtconnectivity

pythonPackages.pyqt5: Add optional support for qtconnectivity
This commit is contained in:
Frederik Rietdijk 2017-11-21 20:11:47 +01:00 committed by GitHub
commit 8e3b8a6c2a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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 ];