git.iko.soy/typeable/nixpkgs
on master help sign in
wxmac: 3.0.2 -> 3.0.4
commitfcbaa7527d017b629c362cb4c9b1d65f86cb4bdc authorDaiderd Jordan <daiderd@gmail.com> dateThu 25 Oct 2018, 00:15 (8 years ago) parent0df3d8d
1 file changed+5−41
pkgs/development/libraries/wxwidgets/3.0/mac.nix+5−41
pkgs/development/libraries/wxwidgets/3.0/mac.nix+5−41
@@ -1,54 +1,18 @@
1−{ stdenv, fetchurl, fetchpatch, expat, libiconv, libjpeg, libpng, libtiff, zlib
1+{ stdenv, fetchzip, fetchpatch, expat, libiconv, libjpeg, libpng, libtiff, zlib
22# darwin only attributes
33, cf-private, derez, rez, setfile
44, AGL, Cocoa, Kernel
55}:
66
77stdenv.mkDerivation rec {
8− version = "3.0.2";
8+ version = "3.0.4";
99 name = "wxmac-${version}";
1010
11− src = fetchurl {
12− url = "mirror://sourceforge/wxwindows/wxWidgets-${version}.tar.bz2";
13− sha256 = "346879dc554f3ab8d6da2704f651ecb504a22e9d31c17ef5449b129ed711585d";
11+ src = fetchzip {
12+ url = "https://github.com/wxWidgets/wxWidgets/archive/v${version}.tar.gz";
13+ sha256 = "19mqglghjjqjgz4rbybn3qdgn2cz9xc511nq1pvvli9wx2k8syl1";
1414 };
1515
16− patches =
17− [ # Use std::abs() from <cmath> instead of abs() from <math.h> to avoid problems
18− # with abiguous overloads for clang-3.8 and gcc6.
19− (fetchpatch {
20− name = "patch-stc-abs.diff";
21− url = https://github.com/wxWidgets/wxWidgets/commit/73e9e18ea09ffffcaac50237def0d9728a213c02.patch;
22− sha256 = "0w5whmfzm8waw62jmippming0zffa9064m5b3aw5nixph21rlcvq";
23− })
24−
25− # Various fixes related to Yosemite. Revisit in next stable release.
26− # Please keep an eye on http://trac.wxwidgets.org/ticket/16329 as well
27− # Theoretically the above linked patch should still be needed, but it isn't.
28− # Try to find out why.
29− (fetchpatch {
30− name = "patch-yosemite.diff";
31− url = https://raw.githubusercontent.com/Homebrew/formula-patches/bbf4995/wxmac/patch-yosemite.diff;
32− sha256 = "0ss66z2a79v976mvlrskyj1zmkyaz8hbwm98p29bscfvcx5845jb";
33− })
34−
35− # Remove uncenessary <QuickTime/QuickTime.h> includes
36− # http://trac.wxwidgets.org/changeset/f6a2d1caef5c6d412c84aa900cb0d3990b350938/git-wxWidgets
37− (fetchpatch {
38− name = "patch-quicktime-removal.diff";
39− url = https://raw.githubusercontent.com/Homebrew/formula-patches/bbf4995/wxmac/patch-quicktime-removal.diff;
40− sha256 = "0mzvdk8r70p9s1wj7qzdsqmdrlxlf2dalh9gqs8xjkqq2666yp0y";
41− })
42−
43− # Patch for wxOSXPrintData, custom paper not applied
44− # http://trac.wxwidgets.org/ticket/16959
45− (fetchpatch {
46− name = "wxPaperCustomPatch.patch";
47− url = http://trac.wxwidgets.org/raw-attachment/ticket/16959/wxPaperCustomPatch.patch;
48− sha256 = "0xgscv86f8dhggn9n8bhlq9wlj3ydsicgy9v35sraxyma18cbjvl";
49− })
50− ];
51−
5216 buildInputs = [
5317 expat libiconv libjpeg libpng libtiff zlib
5418 derez rez setfile