Change:
Describe the bug wxPython40, , does not build there likely because it uses wxGTK rather than this prevents kicad from being built on darwin To Reproduce Steps to reproduce the behavior: darwin, Expected behavior wxPython40 to build on darwin and be usable by kicad there Additional context i maintain the kicad package and Notify maintainers while there are no listed maintainers for this package it was initially contributed by (if you already investigated after the kicad PR ping, nothing relevant changed since) and has a fair amount of contributions by Maintainer information:
Hi I don't have/use mac but happy to answer any wxPython questions as I can
I'm experiencing the same issue with Linux, using .
likely a different issue. Stacktrace? What nixpkgs version / commit?
The as of this writing. Here's the output I'm seeing. <details<summarybuild log</summary</detailsIt looks like pkg-config is giving an old version of GTK+?
please use your failure seems the same as which i closed because it's fixed in the branch by and i can confirm at least starts building there (it's still going...) i'm not sure when this fix will get to ...
nice! didn't know about the details tag. Ok yeah that looks like my issue, thanks for pointing me in that direction.
I can reproduce this on 10.14.6. My best take so far was to use and adapt other Darwin requirements. <details<summarydiff against master</summary</detailsUnfortunately it does not build with the same errors as for the .
Bumped to 3.0.5.1, to its , and it builds! was set, but no dependency specified. That's what caused the missing symbols. <details<summaryworking diff</summary</detailsI'm not even sure why this works at all. claims they build from a submodule, but obviously in this setup we take whatever is supplied through . To be pedantic, 4.0.7 is supposed use some specific instead of a release, as you can . That commit is after* 3.0.4 and shortly before 3.0.5. I only skimmed the , but it sounds and looks like backwards-compatible bug fixes. Opinions on how to proceed? If we follow upstream and choose the intermediate revision, what to specify as the package version?
i've kinda given up on stuff, at least until the next release which i hope will either be built based on a release or be compatible with the latest release (i have no reason to believe this would be the case though) if you have a diff that fixes a package, i recommend you make a PR 4.0.7 seems to work with the 3.0.4, it seems reasonable to assume the same would be true for 3.0.4

Discussion:
<del> { lib, buildPythonApplication, fetchPypi, matplotlib, numpy, pymavlink, pyserial , setuptools, wxPython_4_0 }: </del> <ins> { stdenv, lib, buildPythonApplication, fetchPypi, matplotlib, numpy, pymavlink, pyserial , setuptools, wxPython_4_0, billiard, gnureadline }: </ins> buildPythonApplication rec { pname = "MAVProxy";

sha256 = "fe046481b793b592334749249620fce8a463f4c46b394ff744645975465d677b"; }; <ins> postPatch = '' substituteInPlace setup.py  --replace "opencv-python" "" ''; </ins> propagatedBuildInputs = [ matplotlib numpy

pyserial setuptools wxPython_4_0 <del> ]; </del> <ins> ] ++ lib.optionals stdenv.isDarwin [ billiard gnureadline ]; </ins> # No tests doCheck = false;

{ stdenv, fetchzip, expat, libiconv, libjpeg, libpng, libtiff, zlib # darwin only attributes , derez, rez, setfile <del> , AGL, Cocoa, Kernel </del> <ins> , AGL, Cocoa, Kernel, WebKit </ins> }: stdenv.mkDerivation rec { <del> version = "3.0.4"; </del> <ins> version = "3.0.5.1"; </ins> pname = "wxmac"; src = fetchzip {

buildInputs = [ expat libiconv libjpeg libpng libtiff zlib derez rez setfile <del> AGL Cocoa Kernel </del> <ins> AGL Cocoa Kernel WebKit </ins> ]; postPatch = ''

, python , doxygen , ncurses <del> , wxGTK </del> <ins> , libintl </ins> , numpy , pillow , six <ins> , wxGTK , wxmac , IOKit , Carbon , Cocoa , AudioToolbox , OpenGL , CoreFoundation </ins> }: buildPythonPackage rec {

doCheck = false; <del> nativeBuildInputs = [ pkgconfig which doxygen wxGTK ]; buildInputs = [ ncurses wxGTK.gtk ]; </del> <ins> nativeBuildInputs = [ pkgconfig which doxygen ] ++ (if stdenv.isDarwin then [ wxmac ] else [ wxGTK ]); buildInputs = [ ncurses libintl ] ++ (if stdenv.isDarwin then [ AudioToolbox Carbon Cocoa CoreFoundation IOKit OpenGL ] else [ wxGTK.gtk ] ); </ins> DOXYGEN = "${doxygen}/bin/doxygen";

${python.interpreter} setup.py install --skip-build --prefix=$out ''; <del> passthru = { inherit wxGTK; }; </del> <ins> passthru = { wxWidgets = if stdenv.isDarwin then wxmac else wxGTK; }; </ins> meta = {

}; wxmac = callPackage ../development/libraries/wxwidgets/3.0/mac.nix { <del> inherit (darwin.apple_sdk.frameworks) AGL Cocoa Kernel; </del> <ins> inherit (darwin.apple_sdk.frameworks) AGL Cocoa Kernel WebKit; </ins> inherit (darwin.stubs) setfile rez derez; };

wxPython_4_0 = callPackage ../development/python-modules/wxPython/4.0.nix { inherit (pkgs) pkgconfig; <ins> inherit (pkgs.darwin.apple_sdk.frameworks) AudioToolbox Carbon Cocoa CoreFoundation IOKit OpenGL; </ins> wxGTK = pkgs.wxGTK30.override { withGtk2 = false; withWebKit = true;