graphviz: enabled support for the gts library (used by sfdp renderer)
svn path=/nixpkgs/trunk/; revision=33548
This commit is contained in:
parent
8cd391b130
commit
1eeaeaf3ac
@ -1,5 +1,5 @@
|
|||||||
{ stdenv, fetchurl, pkgconfig, libpng, libjpeg, expat, libXaw
|
{ stdenv, fetchurl, pkgconfig, libpng, libjpeg, expat, libXaw
|
||||||
, yacc, libtool, fontconfig, pango, gd, xlibs
|
, yacc, libtool, fontconfig, pango, gd, xlibs, gts
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
@ -12,9 +12,9 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
buildInputs =
|
buildInputs =
|
||||||
[ pkgconfig libpng libjpeg expat libXaw yacc libtool fontconfig
|
[ pkgconfig libpng libjpeg expat libXaw yacc libtool fontconfig
|
||||||
pango gd
|
pango gd gts
|
||||||
] ++ stdenv.lib.optionals (xlibs != null) [ xlibs.xlibs xlibs.libXrender ];
|
] ++ stdenv.lib.optionals (xlibs != null) [ xlibs.xlibs xlibs.libXrender ];
|
||||||
|
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--with-pngincludedir=${libpng}/include"
|
[ "--with-pngincludedir=${libpng}/include"
|
||||||
"--with-pnglibdir=${libpng}/lib"
|
"--with-pnglibdir=${libpng}/lib"
|
||||||
@ -34,7 +34,19 @@ stdenv.mkDerivation rec {
|
|||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
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 ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user