2009-10-29 14:19:58 +00:00
|
|
|
{ stdenv, fetchurl, zlib, libjpeg }:
|
2003-11-06 15:24:19 +00:00
|
|
|
|
2013-01-29 12:32:55 +00:00
|
|
|
let version = "4.0.3"; in
|
2012-05-15 21:13:46 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libtiff-${version}";
|
2012-09-26 18:59:48 +00:00
|
|
|
|
2003-11-06 15:24:19 +00:00
|
|
|
src = fetchurl {
|
2010-07-19 23:24:16 +00:00
|
|
|
urls =
|
2012-05-15 21:13:46 +00:00
|
|
|
[ "ftp://ftp.remotesensing.org/pub/libtiff/tiff-${version}.tar.gz"
|
|
|
|
"http://download.osgeo.org/libtiff/tiff-${version}.tar.gz"
|
2010-07-19 23:24:16 +00:00
|
|
|
];
|
2013-01-29 12:32:55 +00:00
|
|
|
sha256 = "0wj8d1iwk9vnpax2h29xqc2hwknxg3s0ay2d5pxkg59ihbifn6pa";
|
2003-11-06 15:24:19 +00:00
|
|
|
};
|
2012-05-15 21:13:46 +00:00
|
|
|
|
2010-07-18 21:54:28 +00:00
|
|
|
propagatedBuildInputs = [ zlib libjpeg ];
|
2009-10-29 14:19:58 +00:00
|
|
|
|
2012-05-15 21:13:46 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2009-10-29 14:19:58 +00:00
|
|
|
meta = {
|
|
|
|
description = "Library and utilities for working with the TIFF image file format";
|
2013-01-29 12:32:55 +00:00
|
|
|
homepage = http://www.remotesensing.org/libtiff/;
|
2009-10-29 14:19:58 +00:00
|
|
|
license = "bsd";
|
|
|
|
};
|
2003-11-06 15:24:19 +00:00
|
|
|
}
|