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