graphviz: enabled support for the gts library (used by sfdp renderer)

svn path=/nixpkgs/trunk/; revision=33548
This commit is contained in:
Peter Simons 2012-04-02 21:20:38 +00:00
parent 8cd391b130
commit 1eeaeaf3ac

View File

@ -1,5 +1,5 @@
{ stdenv, fetchurl, pkgconfig, libpng, libjpeg, expat, libXaw
, yacc, libtool, fontconfig, pango, gd, xlibs
, yacc, libtool, fontconfig, pango, gd, xlibs, gts
}:
stdenv.mkDerivation rec {
@ -12,9 +12,9 @@ stdenv.mkDerivation rec {
buildInputs =
[ pkgconfig libpng libjpeg expat libXaw yacc libtool fontconfig
pango gd
pango gd gts
] ++ stdenv.lib.optionals (xlibs != null) [ xlibs.xlibs xlibs.libXrender ];
configureFlags =
[ "--with-pngincludedir=${libpng}/include"
"--with-pnglibdir=${libpng}/lib"
@ -34,7 +34,19 @@ stdenv.mkDerivation rec {
'';
meta = {
description = "A program for visualising graphs";
homepage = http://www.graphviz.org/;
homepage = "http://www.graphviz.org/";
description = "open source graph visualization software"
longDescription = ''
Graphviz is open source graph visualization software. Graph
visualization is a way of representing structural information as
diagrams of abstract graphs and networks. It has important
applications in networking, bioinformatics, software engineering,
database and web design, machine learning, and in visual
interfaces for other technical domains.
'';
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.simons ];
};
}