python3Packages.wxPython4_0: fix build

This commit is contained in:
Frederik Rietdijk 2022-10-04 14:05:39 +02:00 committed by Frederik Rietdijk
parent 19ac0da7ee
commit 081db4e4b7

View File

@ -2,6 +2,7 @@
, stdenv , stdenv
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, setuptools
, pkg-config , pkg-config
, which , which
, cairo , cairo
@ -25,6 +26,7 @@
buildPythonPackage rec { buildPythonPackage rec {
pname = "wxPython"; pname = "wxPython";
version = "4.0.7.post2"; version = "4.0.7.post2";
format = "other";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
@ -33,7 +35,7 @@ buildPythonPackage rec {
doCheck = false; doCheck = false;
nativeBuildInputs = [ pkg-config which doxygen ] nativeBuildInputs = [ pkg-config which doxygen setuptools ]
++ (if stdenv.isDarwin then [ wxmac ] else [ wxGTK ]); ++ (if stdenv.isDarwin then [ wxmac ] else [ wxGTK ]);
buildInputs = [ ncurses libintl ] buildInputs = [ ncurses libintl ]