1 { lib, stdenv, fetchFromGitHub, libtiff, libjpeg, proj, zlib, autoreconfHook }:
3 stdenv.mkDerivation rec {
7 src = fetchFromGitHub {
11 sha256 = "081ag23pn2n5y4fkb2rnh4hmcnq92siqiqv0s20jmx0j3s2nvfxy";
14 outputs = [ "out" "dev" ];
16 sourceRoot = "source/libgeotiff";
19 "--with-jpeg=${libjpeg.dev}"
20 "--with-zlib=${zlib.dev}"
23 nativeBuildInputs = [ autoreconfHook ];
25 buildInputs = [ libtiff proj ];
27 hardeningDisable = [ "format" ];
30 description = "Library implementing attempt to create a tiff based interchange format for georeferenced raster imagery";
31 homepage = "https://github.com/OSGeo/libgeotiff";
32 license = lib.licenses.mit;
33 maintainers = [lib.maintainers.marcweber];
34 platforms = with lib.platforms; linux ++ darwin;