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