forked from mirrors/nixpkgs
Merge pull request #195910 from wegank/gnuplot-wxgtk
This commit is contained in:
commit
136fc9565e
|
@ -8,7 +8,7 @@
|
||||||
, libXpm ? null
|
, libXpm ? null
|
||||||
, libXaw ? null
|
, libXaw ? null
|
||||||
, aquaterm ? false
|
, aquaterm ? false
|
||||||
, withWxGTK ? false, wxGTK ? null
|
, withWxGTK ? false, wxGTK32, Cocoa
|
||||||
, fontconfig ? null
|
, fontconfig ? null
|
||||||
, gnused ? null
|
, gnused ? null
|
||||||
, coreutils ? null
|
, coreutils ? null
|
||||||
|
@ -37,7 +37,8 @@ in
|
||||||
++ lib.optional withCaca libcaca
|
++ lib.optional withCaca libcaca
|
||||||
++ lib.optionals withX [ libX11 libXpm libXt libXaw ]
|
++ lib.optionals withX [ libX11 libXpm libXt libXaw ]
|
||||||
++ lib.optionals withQt [ qtbase qtsvg ]
|
++ lib.optionals withQt [ qtbase qtsvg ]
|
||||||
++ lib.optional withWxGTK wxGTK;
|
++ lib.optional withWxGTK wxGTK32
|
||||||
|
++ lib.optional (withWxGTK && stdenv.isDarwin) Cocoa;
|
||||||
|
|
||||||
postPatch = ''
|
postPatch = ''
|
||||||
# lrelease is in qttools, not in qtbase.
|
# lrelease is in qttools, not in qtbase.
|
||||||
|
|
|
@ -7319,7 +7319,9 @@ with pkgs;
|
||||||
|
|
||||||
gnupg-pkcs11-scd = callPackage ../tools/security/gnupg-pkcs11-scd { };
|
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; };
|
gnuplot_qt = gnuplot.override { withQt = true; };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue