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