Skip to content

Commit

Permalink
python3Packages.pyqt5: add QtDesigner
Browse files Browse the repository at this point in the history
  • Loading branch information
panicgh committed Jun 9, 2023
1 parent c856aad commit dff0b1b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkgs/development/python-modules/pyqt/5.x.nix
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
, withWebSockets ? false
, withLocation ? false
, withSerialPort ? false
, withTools ? false
}:

buildPythonPackage rec {
Expand Down Expand Up @@ -88,6 +89,7 @@ buildPythonPackage rec {
++ lib.optional withWebSockets qtwebsockets
++ lib.optional withLocation qtlocation
++ lib.optional withSerialPort qtserialport
++ lib.optional withTools qttools
;

buildInputs = with libsForQt5; [
Expand All @@ -102,6 +104,7 @@ buildPythonPackage rec {
++ lib.optional withWebSockets qtwebsockets
++ lib.optional withLocation qtlocation
++ lib.optional withSerialPort qtserialport
++ lib.optional withTools qttools
;

propagatedBuildInputs = [
Expand Down Expand Up @@ -134,6 +137,7 @@ buildPythonPackage rec {
++ lib.optional withConnectivity "PyQt5.QtBluetooth"
++ lib.optional withLocation "PyQt5.QtPositioning"
++ lib.optional withSerialPort "PyQt5.QtSerialPort"
++ lib.optional withTools "PyQt5.QtDesigner"
;

meta = with lib; {
Expand Down

0 comments on commit dff0b1b

Please sign in to comment.