nixpkgs/pkgs/tools/graphics/graphviz/default.nix

18 lines
453 B
Nix
Raw Normal View History

{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 "")
];
}