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