pythonPackages.pyqt5: Add optional qtwebsockets support
This is e.g. required for gns3-gui 2.1.0. But it seems to break the build for Python 2.7.
This commit is contained in:
parent
9ea242c617
commit
46bcc0d498
@ -1,5 +1,7 @@
|
||||
{ lib, fetchurl, pythonPackages, pkgconfig, qtbase, qtsvg, qtwebkit, qtwebengine, dbus_libs
|
||||
, lndir, makeWrapper, qmake }:
|
||||
{ lib, fetchurl, pythonPackages, pkgconfig, makeWrapper, qmake
|
||||
, lndir, qtbase, qtsvg, qtwebkit, qtwebengine, dbus_libs
|
||||
, withWebSockets ? false, qtwebsockets
|
||||
}:
|
||||
|
||||
let
|
||||
version = "5.9";
|
||||
@ -25,7 +27,7 @@ in buildPythonPackage {
|
||||
|
||||
buildInputs = [
|
||||
lndir qtbase qtsvg qtwebkit qtwebengine dbus_libs
|
||||
];
|
||||
] ++ lib.optional withWebSockets qtwebsockets;
|
||||
|
||||
propagatedBuildInputs = [ sip ];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user