mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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 changed files with 5 additions and 3 deletions
|
@ -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 a new issue