2009-10-29 15:19:58 +01:00
|
|
|
{ stdenv, fetchurl, zlib, libjpeg }:
|
2003-11-06 16:24:19 +01:00
|
|
|
|
2012-09-26 20:59:48 +02:00
|
|
|
let version = "3.9.7"; 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
|
|
|
];
|
2012-09-26 20:59:48 +02:00
|
|
|
sha256 = "0spg1hr5rsrmg88sfzb05qnf0haspq7r5hvdkxg5zib1rva4vmpm";
|
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";
|
|
|
|
homepage = http://www.libtiff.org/;
|
|
|
|
license = "bsd";
|
|
|
|
};
|
2003-11-06 16:24:19 +01:00
|
|
|
}
|