3
0
Fork 0
forked from mirrors/nixpkgs

Merge pull request #94108 from lopsided98/wxpython-remove-deps

python3Packages.wxPython_4_0: remove unused dependencies
This commit is contained in:
Silvan Mosberger 2020-08-07 01:58:43 +02:00 committed by GitHub
commit 1c918cf06a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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,16 +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;
hardeningDisable = [ "format" ];
buildInputs = [ ncurses wxGTK.gtk ];
DOXYGEN = "${doxygen}/bin/doxygen";
@ -68,10 +48,9 @@ buildPythonPackage rec {
installPhase = ''
${python.interpreter} setup.py install --skip-build --prefix=$out
wrapPythonPrograms
'';
passthru = { inherit wxGTK openglSupport; };
passthru = { inherit wxGTK; };
meta = {