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
15 lines
329 B
Nix
15 lines
329 B
Nix
{stdenv, fetchurl, zlib, libjpeg}:
|
|
|
|
assert zlib != null && libjpeg != null;
|
|
|
|
stdenv.mkDerivation {
|
|
name = "libtiff-3.5.7";
|
|
builder = ./builder.sh;
|
|
src = fetchurl {
|
|
url = ftp://ftp.remotesensing.org/pub/libtiff/tiff-v3.5.7.tar.gz;
|
|
md5 = "82243b5ae9b7c9e492aeebc501680990";
|
|
};
|
|
zlib = zlib;
|
|
libjpeg = libjpeg;
|
|
}
|