Skip to content

Commit

Permalink
gnuplot: Add info output
Browse files Browse the repository at this point in the history
It's optional, but enabled by default.
  • Loading branch information
wentasah committed Dec 1, 2023
1 parent e92039b commit 2b59501
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion pkgs/tools/graphics/gnuplot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
, gnused ? null
, coreutils ? null
, withQt ? false, mkDerivation, qttools, qtbase, qtsvg
, enableInfo ? true, emacs
}:

assert libX11 != null -> (fontconfig != null && gnused != null && coreutils != null);
Expand All @@ -28,7 +29,12 @@ in
sha256 = "sha256-l12MHMLEHHztxOMjr/A12Xf+ual/ApbdKopm0Zelsnw=";
};

nativeBuildInputs = [ makeWrapper pkg-config texinfo ] ++ lib.optional withQt qttools;
outputs = [ "out" ] ++ lib.optional enableInfo "info";

nativeBuildInputs =
[ makeWrapper pkg-config texinfo ]
++ lib.optional withQt qttools
++ lib.optional enableInfo emacs;

buildInputs =
[ cairo gd libcerf pango readline zlib ]
Expand Down Expand Up @@ -74,6 +80,10 @@ in

enableParallelBuilding = true;

installTargets =
[ "install" ]
++ lib.optional enableInfo "install-info";

meta = with lib; {
homepage = "http://www.gnuplot.info/";
description = "A portable command-line driven graphing utility for many platforms";
Expand Down

0 comments on commit 2b59501

Please sign in to comment.