12ae5363ea
* Make builders unexecutable by removing the hash-bang line and execute permission. * Convert calls to `derivation' to `mkDerivation'. * Remove `system' and `stdenv' attributes from calls to `mkDerivation'. These transformations were all done automatically, so it is quite possible I broke stuff. * Put the `mkDerivation' function in stdenv/generic. svn path=/nixpkgs/trunk/; revision=874
20 lines
422 B
Nix
20 lines
422 B
Nix
{stdenv, fetchurl, x11, libpng, libjpeg, expat}:
|
|
|
|
assert x11 != null && libpng != null && libjpeg != null
|
|
&& expat != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "graphviz-1.10";
|
|
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = http://www.graphviz.org/pub/graphviz/ARCHIVE/graphviz-1.10.tar.gz;
|
|
md5 = "e1402531abff68d146bf94e72b44dc2a";
|
|
};
|
|
|
|
x11 = x11;
|
|
libpng = libpng;
|
|
libjpeg = libjpeg;
|
|
expat = expat;
|
|
}
|