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:
Ben Wolsieffer 2020-07-28 17:20:43 -04:00
parent 840c782d50
commit 430936519c

View File

@ -1,29 +1,18 @@
{ lib { lib
, stdenv , stdenv
, openglSupport ? true
, libX11
, pyopengl
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, pkgconfig , pkgconfig
, libjpeg
, libtiff
, SDL
, gst-plugins-base
, libnotify
, freeglut
, xorg
, which , which
, cairo , cairo
, requests
, pango , pango
, pathlib2
, python , python
, doxygen , doxygen
, ncurses , ncurses
, libpng
, gstreamer
, wxGTK , wxGTK
, numpy
, pillow
, six
}: }:
buildPythonPackage rec { buildPythonPackage rec {
@ -38,14 +27,7 @@ buildPythonPackage rec {
doCheck = false; doCheck = false;
nativeBuildInputs = [ pkgconfig which doxygen wxGTK ]; nativeBuildInputs = [ pkgconfig which doxygen wxGTK ];
buildInputs = [ ncurses wxGTK.gtk ];
buildInputs = [ libjpeg libtiff SDL
gst-plugins-base libnotify freeglut xorg.libSM ncurses
requests libpng gstreamer libX11
pathlib2
(wxGTK.gtk)
]
++ lib.optional openglSupport pyopengl;
hardeningDisable = [ "format" ]; hardeningDisable = [ "format" ];
@ -71,7 +53,7 @@ buildPythonPackage rec {
wrapPythonPrograms wrapPythonPrograms
''; '';
passthru = { inherit wxGTK openglSupport; }; passthru = { inherit wxGTK; };
meta = { meta = {