summary refs log tree commit diff
path: root/pkgs/tools/graphics/gnuplot
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2017-12-10 16:52:52 +0000
committerOrivej Desh <orivej@gmx.fr>2017-12-10 19:30:57 +0000
commit051cbf7cbe7a245449e264893096569af6039698 (patch)
tree2438211e8ef0e835368a67f1b216b20e29ad16cc /pkgs/tools/graphics/gnuplot
parente21e752caf0095e4acddfb752fb54e57044d4dec (diff)
downloadnixpkgs-051cbf7cbe7a245449e264893096569af6039698.tar
nixpkgs-051cbf7cbe7a245449e264893096569af6039698.tar.gz
nixpkgs-051cbf7cbe7a245449e264893096569af6039698.tar.bz2
nixpkgs-051cbf7cbe7a245449e264893096569af6039698.tar.lz
nixpkgs-051cbf7cbe7a245449e264893096569af6039698.tar.xz
nixpkgs-051cbf7cbe7a245449e264893096569af6039698.tar.zst
nixpkgs-051cbf7cbe7a245449e264893096569af6039698.zip
gnuplot: build with libcerf
Diffstat (limited to 'pkgs/tools/graphics/gnuplot')
-rw-r--r--pkgs/tools/graphics/gnuplot/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/tools/graphics/gnuplot/default.nix b/pkgs/tools/graphics/gnuplot/default.nix
index 0dcaa49487d..a22d77df81c 100644
--- a/pkgs/tools/graphics/gnuplot/default.nix
+++ b/pkgs/tools/graphics/gnuplot/default.nix
@@ -1,4 +1,5 @@
-{ lib, stdenv, fetchurl, zlib, gd, texinfo4, makeWrapper, readline
+{ lib, stdenv, fetchurl, makeWrapper, pkgconfig, texinfo
+, cairo, gd, libcerf, pango, readline, zlib
 , withTeXLive ? false, texlive
 , withLua ? false, lua
 , emacs ? null
@@ -8,9 +9,6 @@
 , libXaw ? null
 , aquaterm ? false
 , withWxGTK ? false, wxGTK ? null
-, pango ? null
-, cairo ? null
-, pkgconfig ? null
 , fontconfig ? null
 , gnused ? null
 , coreutils ? null
@@ -28,8 +26,10 @@ stdenv.mkDerivation rec {
     sha256 = "18diyy7aib9mn098x07g25c7jij1x7wbfpicz0z8gwxx08px45m4";
   };
 
+  nativeBuildInputs = [ makeWrapper pkgconfig texinfo ];
+
   buildInputs =
-    [ zlib gd texinfo4 readline pango cairo pkgconfig makeWrapper ]
+    [ cairo gd libcerf pango readline zlib ]
     ++ lib.optional withTeXLive (texlive.combine { inherit (texlive) scheme-small; })
     ++ lib.optional withLua lua
     ++ lib.optionals withX [ libX11 libXpm libXt libXaw ]
@@ -50,6 +50,8 @@ stdenv.mkDerivation rec {
        --run '. ${./set-gdfontpath-from-fontconfig.sh}'
   '';
 
+  enableParallelBuilding = true;
+
   meta = with lib; {
     homepage = http://www.gnuplot.info/;
     description = "A portable command-line driven graphing utility for many platforms";