summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/wxPython
diff options
context:
space:
mode:
authorBen Wolsieffer <benwolsieffer@gmail.com>2020-07-28 17:20:43 -0400
committerBen Wolsieffer <benwolsieffer@gmail.com>2020-08-06 12:54:41 -0400
commit430936519c80b080462fd625c5b500f2d730cf1f (patch)
tree6062b0b882c0d2f48417af02fea1f2412e93b615 /pkgs/development/python-modules/wxPython
parent840c782d507d60aaa49aa9e3f6d0b0e780912742 (diff)
python3Packages.wxPython_4_0: remove unused dependencies
The package contains no references to many of its declared dependencies, and the build succeeds without them.
Diffstat (limited to 'pkgs/development/python-modules/wxPython')
-rw-r--r--pkgs/development/python-modules/wxPython/4.0.nix28
1 files changed, 5 insertions, 23 deletions
diff --git a/pkgs/development/python-modules/wxPython/4.0.nix b/pkgs/development/python-modules/wxPython/4.0.nix
index e185e26a4f7e..53a3f6b1e319 100644
--- a/pkgs/development/python-modules/wxPython/4.0.nix
+++ b/pkgs/development/python-modules/wxPython/4.0.nix
@@ -1,29 +1,18 @@
{ lib
, stdenv
-, openglSupport ? true
-, libX11
-, pyopengl
, buildPythonPackage
, fetchPypi
, pkgconfig
-, libjpeg
-, libtiff
-, SDL
-, gst-plugins-base
-, libnotify
-, freeglut
-, xorg
, which
, cairo
-, requests
, pango
-, pathlib2
, python
, doxygen
, ncurses
-, libpng
-, gstreamer
, wxGTK
+, numpy
+, pillow
+, six
}:
buildPythonPackage rec {
@@ -38,14 +27,7 @@ buildPythonPackage rec {
doCheck = false;
nativeBuildInputs = [ pkgconfig which doxygen wxGTK ];
-
- buildInputs = [ libjpeg libtiff SDL
- gst-plugins-base libnotify freeglut xorg.libSM ncurses
- requests libpng gstreamer libX11
- pathlib2
- (wxGTK.gtk)
- ]
- ++ lib.optional openglSupport pyopengl;
+ buildInputs = [ ncurses wxGTK.gtk ];
hardeningDisable = [ "format" ];
@@ -71,7 +53,7 @@ buildPythonPackage rec {
wrapPythonPrograms
'';
- passthru = { inherit wxGTK openglSupport; };
+ passthru = { inherit wxGTK; };
meta = {