wxwidgets: remove darwin from inputs

This commit is contained in:
Sandro Jäckel 2022-02-21 23:29:36 +01:00
parent a5eb7d85c8
commit ee2f1269d0
No known key found for this signature in database
GPG key ID: 3AF5A43A3EECC2E5
5 changed files with 41 additions and 20 deletions

View file

@ -14,13 +14,14 @@
, compat26 ? true
, unicode ? true
, withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms
, darwin
, setfile
, AGL
, Carbon
, Cocoa
, Kernel
, QuickTime
}:
let
inherit (darwin.stubs) setfile;
inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QuickTime;
in
stdenv.mkDerivation rec {
pname = "wxGTK";
version = "2.9.5";

View file

@ -17,14 +17,17 @@
, unicode ? true
, withGtk2 ? true
, withWebKit ? false, webkitgtk
, darwin
, setfile
, AGL
, Carbon
, Cocoa
, Kernel
, QTKit
}:
assert withGtk2 -> (!withWebKit);
let
inherit (darwin.stubs) setfile;
inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit;
inherit (gst_all_1) gstreamer gst-plugins-base;
gtk = if withGtk2 then gtk2 else gtk3;
in

View file

@ -20,14 +20,17 @@
, withGtk2 ? true
, withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms
, withWebKit ? false, webkitgtk
, darwin
, setfile
, AGL
, Carbon
, Cocoa
, Kernel
, QTKit
}:
assert withGtk2 -> (!withWebKit);
let
inherit (darwin.stubs) setfile;
inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit;
inherit (gnome2) GConf;
inherit (gst_all_1) gst-plugins-base gstreamer;
gtk = if withGtk2 then gtk2 else gtk3;

View file

@ -7,13 +7,15 @@
, libpng
, libtiff
, zlib
, darwin
, AGL
, Cocoa
, Kernel
, WebKit
, derez
, rez
, setfile
}:
let
inherit (darwin.apple_sdk.frameworks) AGL Cocoa Kernel WebKit;
inherit (darwin.stubs) derez rez setfile;
in
stdenv.mkDerivation rec {
pname = "wxmac";
version = "3.0.5.1";

View file

@ -20509,10 +20509,22 @@ with pkgs;
wxGTK = wxGTK28;
wxGTK28 = callPackage ../development/libraries/wxwidgets/wxGTK28.nix { };
wxGTK29 = callPackage ../development/libraries/wxwidgets/wxGTK29.nix { };
wxGTK30 = callPackage ../development/libraries/wxwidgets/wxGTK30.nix { };
wxGTK31 = callPackage ../development/libraries/wxwidgets/wxGTK31.nix { };
wxmac = callPackage ../development/libraries/wxwidgets/wxmac30.nix { };
wxGTK29 = callPackage ../development/libraries/wxwidgets/wxGTK29.nix {
inherit (darwin.stubs) setfile;
inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QuickTime;
};
wxGTK30 = callPackage ../development/libraries/wxwidgets/wxGTK30.nix {
inherit (darwin.stubs) setfile;
inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit;
};
wxGTK31 = callPackage ../development/libraries/wxwidgets/wxGTK31.nix {
inherit (darwin.stubs) setfile;
inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel QTKit;
};
wxmac = callPackage ../development/libraries/wxwidgets/wxmac30.nix {
inherit (darwin.stubs) derez rez setfile;
inherit (darwin.apple_sdk.frameworks) AGL Carbon Cocoa Kernel WebKit;
};
wxGTK30-gtk2 = wxGTK30.override { withGtk2 = true; };
wxGTK30-gtk3 = wxGTK30.override { withGtk2 = false; };