1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-30 01:20:40 +00:00
nixpkgs/pkgs/tools/graphics/graphviz/default.nix
Eelco Dolstra 0bf13e6f16 * Graphviz 2.4.
svn path=/nixpkgs/trunk/; revision=3530
2005-08-05 11:52:44 +00:00

21 lines
529 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://www.graphviz.org/pub/graphviz/ARCHIVE/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;
}