gnuplot: build with libcerf

This commit is contained in:
Orivej Desh 2017-12-10 16:52:52 +00:00
parent e21e752caf
commit 051cbf7cbe

View File

@ -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 , withTeXLive ? false, texlive
, withLua ? false, lua , withLua ? false, lua
, emacs ? null , emacs ? null
@ -8,9 +9,6 @@
, libXaw ? null , libXaw ? null
, aquaterm ? false , aquaterm ? false
, withWxGTK ? false, wxGTK ? null , withWxGTK ? false, wxGTK ? null
, pango ? null
, cairo ? null
, pkgconfig ? null
, fontconfig ? null , fontconfig ? null
, gnused ? null , gnused ? null
, coreutils ? null , coreutils ? null
@ -28,8 +26,10 @@ stdenv.mkDerivation rec {
sha256 = "18diyy7aib9mn098x07g25c7jij1x7wbfpicz0z8gwxx08px45m4"; sha256 = "18diyy7aib9mn098x07g25c7jij1x7wbfpicz0z8gwxx08px45m4";
}; };
nativeBuildInputs = [ makeWrapper pkgconfig texinfo ];
buildInputs = 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 withTeXLive (texlive.combine { inherit (texlive) scheme-small; })
++ lib.optional withLua lua ++ lib.optional withLua lua
++ lib.optionals withX [ libX11 libXpm libXt libXaw ] ++ lib.optionals withX [ libX11 libXpm libXt libXaw ]
@ -50,6 +50,8 @@ stdenv.mkDerivation rec {
--run '. ${./set-gdfontpath-from-fontconfig.sh}' --run '. ${./set-gdfontpath-from-fontconfig.sh}'
''; '';
enableParallelBuilding = true;
meta = with lib; { meta = with lib; {
homepage = http://www.gnuplot.info/; homepage = http://www.gnuplot.info/;
description = "A portable command-line driven graphing utility for many platforms"; description = "A portable command-line driven graphing utility for many platforms";