nixpkgs/pkgs/tools/graphics/graphviz/default.nix
Eelco Dolstra e42507d182 * Move tarballs to catamaran so that we are no longer dependent on a
gazillion different servers.  Resurrected some 25 missing files.

svn path=/nixpkgs/trunk/; revision=2237
2005-02-15 14:44:19 +00:00

18 lines
453 B
Nix

{stdenv, fetchurl, x11, libpng, libjpeg, expat, libXaw, yacc}:
assert libpng != null && libjpeg != null && expat != null;
stdenv.mkDerivation {
name = "graphviz-1.12";
src = fetchurl {
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/graphviz-1.12.tar.gz;
md5 = "a5c004c42f58c957f772060d0889059c";
};
buildInputs = [x11 libpng libjpeg expat libXaw yacc];
configureFlags = [
(if x11 == null then "--without-x" else "")
];
}