summary refs log tree commit diff
path: root/pkgs/tools/graphics
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2012-04-02 21:20:38 +0000
committerPeter Simons <simons@cryp.to>2012-04-02 21:20:38 +0000
commit1eeaeaf3acc16eb79cf9f1e3cdf53c5673c9112a (patch)
treeb57a137d9bfcfc3410f87cebe80029d852893420 /pkgs/tools/graphics
parent8cd391b130395d19f7352906b8a5fae295035ebb (diff)
downloadnixlib-1eeaeaf3acc16eb79cf9f1e3cdf53c5673c9112a.tar
nixlib-1eeaeaf3acc16eb79cf9f1e3cdf53c5673c9112a.tar.gz
nixlib-1eeaeaf3acc16eb79cf9f1e3cdf53c5673c9112a.tar.bz2
nixlib-1eeaeaf3acc16eb79cf9f1e3cdf53c5673c9112a.tar.lz
nixlib-1eeaeaf3acc16eb79cf9f1e3cdf53c5673c9112a.tar.xz
nixlib-1eeaeaf3acc16eb79cf9f1e3cdf53c5673c9112a.tar.zst
nixlib-1eeaeaf3acc16eb79cf9f1e3cdf53c5673c9112a.zip
graphviz: enabled support for the gts library (used by sfdp renderer)
svn path=/nixpkgs/trunk/; revision=33548
Diffstat (limited to 'pkgs/tools/graphics')
-rw-r--r--pkgs/tools/graphics/graphviz/default.nix22
1 files changed, 17 insertions, 5 deletions
diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix
index c070a73d1f19..02f9534876b6 100644
--- a/pkgs/tools/graphics/graphviz/default.nix
+++ b/pkgs/tools/graphics/graphviz/default.nix
@@ -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 ];
   };
 }