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