python3Packages.wxPython_4_0: remove unused dependencies
The package contains no references to many of its declared dependencies, and the build succeeds without them.
This commit is contained in:
parent
840c782d50
commit
430936519c
@ -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 = {
|
||||
|
Loading…
Reference in New Issue
Block a user