python3Packages.orjson: Disable failing tests on 32 bit
[NixPkgs.git] / pkgs / development / libraries / libgeotiff / default.nix
blobeb35d5316c0e482231f8444f02284819a13aeb2f
1 { lib, stdenv, fetchFromGitHub, libtiff, libjpeg, proj, zlib, autoreconfHook }:
3 stdenv.mkDerivation rec {
4   version = "1.5.1";
5   pname = "libgeotiff";
7   src = fetchFromGitHub {
8     owner = "OSGeo";
9     repo = "libgeotiff";
10     rev = version;
11     sha256 = "081ag23pn2n5y4fkb2rnh4hmcnq92siqiqv0s20jmx0j3s2nvfxy";
12   };
14   outputs = [ "out" "dev" ];
16   sourceRoot = "source/libgeotiff";
18   configureFlags = [
19     "--with-jpeg=${libjpeg.dev}"
20     "--with-zlib=${zlib.dev}"
21   ];
23   nativeBuildInputs = [ autoreconfHook ];
25   buildInputs = [ libtiff proj ];
27   hardeningDisable = [ "format" ];
29   meta = {
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;
35   };