mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
09e0cc7cc7
Homepage link "http://.../" is a permanent redirect to "https://.../" and should be updated https://repology.org/repository/nix_stable/problems
28 lines
824 B
Nix
28 lines
824 B
Nix
{ stdenv, fetchurl, libtiff, libjpeg, proj, zlib}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
version = "1.4.2";
|
|
name = "libgeotiff-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "http://download.osgeo.org/geotiff/libgeotiff/${name}.tar.gz";
|
|
sha256 = "0vjy3bwfhljjx66p9w999i4mdhsf7vjshx29yc3pn5livf5091xd";
|
|
};
|
|
|
|
configureFlags = [
|
|
"--with-jpeg=${libjpeg.dev}"
|
|
"--with-zlib=${zlib.dev}"
|
|
];
|
|
buildInputs = [ libtiff proj ];
|
|
|
|
hardeningDisable = [ "format" ];
|
|
|
|
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];
|
|
platforms = with stdenv.lib.platforms; linux ++ darwin;
|
|
};
|
|
}
|