nixpkgs/pkgs/tools/graphics/graphviz/default.nix
Eelco Dolstra 3389f4bc36 * Copy lots of files to nix.cs.uu.nl.
svn path=/nixpkgs/trunk/; revision=4623
2006-01-30 16:04:03 +00:00

21 lines
518 B
Nix

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