3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/libgeotiff/default.nix

28 lines
824 B
Nix
Raw Normal View History

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