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 13, 2024
1 parent 5d67ea6 commit c541372
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions pkgs/tools/graphics/gnuplot/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,8 @@
qttools,
qtbase,
qtsvg,
enableInfo ? true,
emacs,
}:

assert libX11 != null -> (fontconfig != null && gnused != null && coreutils != null);
Expand All @@ -48,11 +50,16 @@ in
sha256 = "sha256-6FpmDBoqGAj/JPfmmYH/y6xmpFydz3EbZWELJupxN5o=";
};

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 =
[
Expand Down Expand Up @@ -122,6 +129,8 @@ in

enableParallelBuilding = true;

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

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

0 comments on commit c541372

Please sign in to comment.