570b0f8c54
Also minor modification of ghostscript to work with it.
25 lines
636 B
Nix
25 lines
636 B
Nix
{ stdenv, fetchurl, zlib, libjpeg }:
|
|
|
|
let version = "4.0.3"; in
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "libtiff-${version}";
|
|
|
|
src = fetchurl {
|
|
urls =
|
|
[ "ftp://ftp.remotesensing.org/pub/libtiff/tiff-${version}.tar.gz"
|
|
"http://download.osgeo.org/libtiff/tiff-${version}.tar.gz"
|
|
];
|
|
sha256 = "0wj8d1iwk9vnpax2h29xqc2hwknxg3s0ay2d5pxkg59ihbifn6pa";
|
|
};
|
|
|
|
propagatedBuildInputs = [ zlib libjpeg ];
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
meta = {
|
|
description = "Library and utilities for working with the TIFF image file format";
|
|
homepage = http://www.remotesensing.org/libtiff/;
|
|
license = "bsd";
|
|
};
|
|
}
|