2016-11-06 09:08:40 +00:00
|
|
|
{ stdenv, fetchurl, libtiff, libjpeg, proj, zlib}:
|
2010-07-28 12:55:54 +01:00
|
|
|
|
2016-11-06 09:08:40 +00:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "1.4.2";
|
|
|
|
name = "libgeotiff-${version}";
|
2010-06-03 01:51:13 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-28 19:43:35 +01:00
|
|
|
url = "https://download.osgeo.org/geotiff/libgeotiff/${name}.tar.gz";
|
2016-11-06 09:08:40 +00:00
|
|
|
sha256 = "0vjy3bwfhljjx66p9w999i4mdhsf7vjshx29yc3pn5livf5091xd";
|
2010-06-03 01:51:13 +01:00
|
|
|
};
|
|
|
|
|
2016-11-06 09:08:40 +00:00
|
|
|
configureFlags = [
|
|
|
|
"--with-jpeg=${libjpeg.dev}"
|
|
|
|
"--with-zlib=${zlib.dev}"
|
|
|
|
];
|
|
|
|
buildInputs = [ libtiff proj ];
|
2010-06-03 01:51:13 +01:00
|
|
|
|
2016-02-26 17:38:15 +00:00
|
|
|
hardeningDisable = [ "format" ];
|
2016-02-07 16:31:59 +00:00
|
|
|
|
2010-06-03 01:51:13 +01:00
|
|
|
meta = {
|
2010-07-28 12:55:54 +01:00
|
|
|
description = "Library implementing attempt to create a tiff based interchange format for georeferenced raster imagery";
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://www.remotesensing.org/geotiff/geotiff.html;
|
2014-06-19 05:19:00 +01:00
|
|
|
license = stdenv.lib.licenses.mit;
|
2010-06-03 01:51:13 +01:00
|
|
|
maintainers = [stdenv.lib.maintainers.marcweber];
|
2016-11-07 19:42:26 +00:00
|
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
2010-06-03 01:51:13 +01:00
|
|
|
};
|
|
|
|
}
|