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