summary refs log tree commit diff
path: root/pkgs/tools/graphics/graphviz
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2007-12-31 17:53:33 +0000
committerEelco Dolstra <eelco.dolstra@logicblox.com>2007-12-31 17:53:33 +0000
commit9c2eea29246abd0495a5234f90899d35b137c9b8 (patch)
treeb8b3894d3149a0c3bc6e43fae8b953eb1b6a356f /pkgs/tools/graphics/graphviz
parent2048819a9bd178bcba8d9a4c57d8496e5384461b (diff)
downloadnixpkgs-9c2eea29246abd0495a5234f90899d35b137c9b8.tar
nixpkgs-9c2eea29246abd0495a5234f90899d35b137c9b8.tar.gz
nixpkgs-9c2eea29246abd0495a5234f90899d35b137c9b8.tar.bz2
nixpkgs-9c2eea29246abd0495a5234f90899d35b137c9b8.tar.lz
nixpkgs-9c2eea29246abd0495a5234f90899d35b137c9b8.tar.xz
nixpkgs-9c2eea29246abd0495a5234f90899d35b137c9b8.tar.zst
nixpkgs-9c2eea29246abd0495a5234f90899d35b137c9b8.zip
* Graphviz 2.16.1.
svn path=/nixpkgs/trunk/; revision=9999
Diffstat (limited to 'pkgs/tools/graphics/graphviz')
-rw-r--r--pkgs/tools/graphics/graphviz/default.nix13
1 files changed, 9 insertions, 4 deletions
diff --git a/pkgs/tools/graphics/graphviz/default.nix b/pkgs/tools/graphics/graphviz/default.nix
index b424672ed41..abde6da66d6 100644
--- a/pkgs/tools/graphics/graphviz/default.nix
+++ b/pkgs/tools/graphics/graphviz/default.nix
@@ -3,11 +3,11 @@
 assert libpng != null && libjpeg != null && expat != null;
 
 stdenv.mkDerivation {
-  name = "graphviz-2.12";
+  name = "graphviz-2.16.1";
 
   src = fetchurl {
-    url = http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.12.tar.gz;
-    md5 = "e5547bc0ec47943c72f5c3e2b5dff58f";
+    url = http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-2.16.1.tar.gz;
+    sha256 = "1lan1hyar0xbqvnkcmlcvv02g8zfpk94gk04y4sik5irpa2s3h9j";
   };
 
   buildInputs = [x11 libpng libjpeg expat libXaw yacc libtool];
@@ -19,5 +19,10 @@ stdenv.mkDerivation {
       "--with-expatincludedir=${expat}/include"
       "--with-expatlibdir=${expat}/lib"
     ]
-    ++ (if x11 == null then ["--without-x"] else []);
+    ++ stdenv.lib.optional (x11 == null) "--without-x";
+
+  meta = {
+    description = "A program for visualising graphs";
+    homepage = http://www.graphviz.org/;
+  };
 }