@@ -1,11 +1,9 @@
11{ stdenv, fetchurl, fetchpatch, expat, libiconv, libjpeg, libpng, libtiff, zlib
22# darwin only attributes
3−, derez, rez, setfile
3+, cf-private, derez, rez, setfile
44, AGL, Cocoa, Kernel
55}:
66
7−with stdenv.lib;
8−
97stdenv.mkDerivation rec {
108 version = "3.0.2";
119 name = "wxmac-${version}";
@@ -55,6 +53,10 @@ stdenv.mkDerivation rec {
5553 expat libiconv libjpeg libpng libtiff zlib
5654 derez rez setfile
5755 Cocoa Kernel
56+
57+ # Needed for CFURLGetFSRef, etc. which have deen deprecated
58+ # since 10.9 and are not part of swift-corelibs CoreFoundation.
59+ cf-private
5860 ];
5961
6062 propagatedBuildInputs = [ AGL ];
@@ -98,7 +100,7 @@ stdenv.mkDerivation rec {
98100
99101 enableParallelBuilding = true;
100102
101− meta = {
103+ meta = with stdenv.lib; {
102104 platforms = platforms.darwin;
103105 license = licenses.wxWindows;
104106 maintainers = [ maintainers.lnl7 ];