···11-{ lib
22-, stdenv
33-, fetchFromGitHub
44-, expat
55-, libiconv
66-, libjpeg
77-, libpng
88-, libtiff
99-, zlib
1010-, AGL
1111-, Cocoa
1212-, Kernel
1313-, WebKit
1414-, derez
1515-, rez
1616-, setfile
1717-}:
1818-1919-stdenv.mkDerivation rec {
2020- pname = "wxmac";
2121- version = "3.0.5.1";
2222-2323- src = fetchFromGitHub {
2424- owner = "wxWidgets";
2525- repo = "wxWidgets";
2626- rev = "v${version}";
2727- hash = "sha256-I91douzXDAfDgm4Pplf17iepv4vIRhXZDRFl9keJJq0=";
2828- };
2929-3030- buildInputs = [
3131- expat
3232- libiconv
3333- libjpeg
3434- libpng
3535- libtiff
3636- zlib
3737- AGL
3838- Cocoa
3939- Kernel
4040- WebKit
4141- derez
4242- rez
4343- setfile
4444- ];
4545-4646- postPatch = ''
4747- substituteInPlace configure --replace "-framework System" "-lSystem"
4848- '';
4949-5050- configureFlags = [
5151- "--disable-mediactrl"
5252- "--disable-precomp-headers"
5353- "--enable-clipboard"
5454- "--enable-controls"
5555- "--enable-dataviewctrl"
5656- "--enable-display"
5757- "--enable-dnd"
5858- "--enable-graphics_ctx"
5959- "--enable-std_string"
6060- "--enable-svg"
6161- "--enable-unicode"
6262- "--enable-webkit"
6363- "--with-expat"
6464- "--with-libjpeg"
6565- "--with-libpng"
6666- "--with-libtiff"
6767- "--with-macosx-version-min=10.7"
6868- "--with-opengl"
6969- "--with-osx_cocoa"
7070- "--with-zlib"
7171- "--without-liblzma"
7272- "wx_cv_std_libfullpath=/var/empty"
7373- ];
7474-7575- doCheck = true;
7676- checkPhase = ''
7777- ./wx-config --libs
7878- '';
7979-8080- env.NIX_CFLAGS_COMPILE = "-Wno-undef";
8181-8282- enableParallelBuilding = true;
8383-8484- meta = with lib; {
8585- homepage = "https://www.wxwidgets.org/";
8686- description = "A Cross-Platform C++ GUI Library - MacOS-only build";
8787- longDescription = ''
8888- wxWidgets gives you a single, easy-to-use API for writing GUI applications
8989- on multiple platforms that still utilize the native platform's controls
9090- and utilities. Link with the appropriate library for your platform and
9191- compiler, and your application will adopt the look and feel appropriate to
9292- that platform. On top of great GUI functionality, wxWidgets gives you:
9393- online help, network programming, streams, clipboard and drag and drop,
9494- multithreading, image loading and saving in a variety of popular formats,
9595- database support, HTML viewing and printing, and much more.
9696- '';
9797- license = licenses.wxWindows;
9898- maintainers = with maintainers; [ lnl7 ];
9999- platforms = platforms.darwin;
100100- };
101101-}
+4-2
pkgs/top-level/aliases.nix
···16751675 wxGTK = throw "wxGTK28 has been removed from nixpkgs as it has reached end of life"; # Added 2022-11-04
16761676 wxGTK28 = throw "wxGTK28 has been removed from nixpkgs as it has reached end of life"; # Added 2022-11-04
16771677 wxGTK29 = throw "wxGTK29 has been removed from nixpkgs as it has reached end of life"; # Added 2022-11-04
16781678- wxGTK30-gtk2 = throw "'wxGTK30-gtk2' has been removed from nixpkgs as it depends on deprecated GTK2"; # Added 2022-12-03
16791679- wxGTK30-gtk3 = throw "'wxGTK30-gtk3' has been renamed to/replaced by 'wxGTK30'"; # Added 2022-12-03
16781678+ wxGTK30 = throw "wxGTK30 has been removed from nixpkgs as it has reached end of life"; # Added 2023-03-22
16791679+ wxGTK30-gtk2 = wxGTK30; # Added 2022-12-03
16801680+ wxGTK30-gtk3 = wxGTK30; # Added 2022-12-03
16801681 wxGTK31-gtk2 = throw "'wxGTK31-gtk2' has been removed from nixpkgs as it depends on deprecated GTK2"; # Added 2022-10-27
16811682 wxGTK31-gtk3 = throw "'wxGTK31-gtk3' has been renamed to/replaced by 'wxGTK31'"; # Added 2022-10-27
16831683+ wxmac = wxGTK30; # Added 2023-03-22
16821684 wxmupen64plus = throw "wxmupen64plus was removed because the upstream disappeared"; # Added 2022-01-31
16831685 wxcam = throw "'wxcam' has seen no updates in ten years, crashes (SIGABRT) on startup and depends on deprecated wxGTK28/GNOME2/GTK2, use 'gnome.cheese'"; # Added 2022-06-15
16841686