gnuplot: migrate to wxGTK32

This commit is contained in:
Weijia Wang 2022-10-14 06:46:56 +02:00
parent 86872d31b1
commit 444a2bc174
2 changed files with 6 additions and 3 deletions

View file

@ -8,7 +8,7 @@
, libXpm ? null
, libXaw ? null
, aquaterm ? false
, withWxGTK ? false, wxGTK ? null
, withWxGTK ? false, wxGTK32, Cocoa
, fontconfig ? null
, gnused ? null
, coreutils ? null
@ -37,7 +37,8 @@ in
++ lib.optional withCaca libcaca
++ lib.optionals withX [ libX11 libXpm libXt libXaw ]
++ lib.optionals withQt [ qtbase qtsvg ]
++ lib.optional withWxGTK wxGTK;
++ lib.optional withWxGTK wxGTK32
++ lib.optional (withWxGTK && stdenv.isDarwin) Cocoa;
postPatch = ''
# lrelease is in qttools, not in qtbase.

View file

@ -7192,7 +7192,9 @@ with pkgs;
gnupg-pkcs11-scd = callPackage ../tools/security/gnupg-pkcs11-scd { };
gnuplot = libsForQt5.callPackage ../tools/graphics/gnuplot { };
gnuplot = libsForQt5.callPackage ../tools/graphics/gnuplot {
inherit (darwin.apple_sdk.frameworks) Cocoa;
};
gnuplot_qt = gnuplot.override { withQt = true; };