From 081db4e4b79572972e320163dd3e6f7429b9bca0 Mon Sep 17 00:00:00 2001 From: Frederik Rietdijk Date: Tue, 4 Oct 2022 14:05:39 +0200 Subject: [PATCH] python3Packages.wxPython4_0: fix build --- pkgs/development/python-modules/wxPython/4.0.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pkgs/development/python-modules/wxPython/4.0.nix b/pkgs/development/python-modules/wxPython/4.0.nix index 3a86ef4c6390..9b4dcd5e6b48 100644 --- a/pkgs/development/python-modules/wxPython/4.0.nix +++ b/pkgs/development/python-modules/wxPython/4.0.nix @@ -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 ]