19 stdenv.mkDerivation rec {
23 src = fetchFromGitHub {
27 hash = "sha256-I91douzXDAfDgm4Pplf17iepv4vIRhXZDRFl9keJJq0=";
47 substituteInPlace configure --replace "-framework System" "-lSystem"
52 "--disable-precomp-headers"
55 "--enable-dataviewctrl"
58 "--enable-graphics_ctx"
67 "--with-macosx-version-min=10.7"
72 "wx_cv_std_libfullpath=/var/empty"
80 NIX_CFLAGS_COMPILE = "-Wno-undef";
82 enableParallelBuilding = true;
85 homepage = "https://www.wxwidgets.org/";
86 description = "A Cross-Platform C++ GUI Library - MacOS-only build";
88 wxWidgets gives you a single, easy-to-use API for writing GUI applications
89 on multiple platforms that still utilize the native platform's controls
90 and utilities. Link with the appropriate library for your platform and
91 compiler, and your application will adopt the look and feel appropriate to
92 that platform. On top of great GUI functionality, wxWidgets gives you:
93 online help, network programming, streams, clipboard and drag and drop,
94 multithreading, image loading and saving in a variety of popular formats,
95 database support, HTML viewing and printing, and much more.
97 license = licenses.wxWindows;
98 maintainers = with maintainers; [ lnl7 ];
99 platforms = platforms.darwin;