Skip to content

Commit

Permalink
gdal: build with xml support
Browse files Browse the repository at this point in the history
  • Loading branch information
orivej committed Aug 11, 2018
1 parent cfb7ccb commit c2cf0c5
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pkgs/development/libraries/gdal/default.nix
@@ -1,8 +1,8 @@
{ stdenv, fetchurl, fetchpatch, unzip, libjpeg, libtiff, zlib
, postgresql, mysql, libgeotiff, pythonPackages, proj, geos, openssl
, libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib
, libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib, expat
, libiconv
, netcdfSupport ? true, netcdf, hdf5 , curl
, netcdfSupport ? true, netcdf, hdf5, curl
}:

with stdenv.lib;
Expand All @@ -17,12 +17,13 @@ stdenv.mkDerivation rec {
};

buildInputs = [ unzip libjpeg libtiff libpng proj openssl sqlite
libspatialite poppler hdf4 qhull giflib ]
libspatialite poppler hdf4 qhull giflib expat ]
++ (with pythonPackages; [ python numpy wrapPython ])
++ stdenv.lib.optional stdenv.isDarwin libiconv
++ stdenv.lib.optionals netcdfSupport [ netcdf hdf5 curl ];

configureFlags = [
"--with-expat=${expat.dev}"
"--with-jpeg=${libjpeg.dev}"
"--with-libtiff=${libtiff.dev}" # optional (without largetiff support)
"--with-png=${libpng.dev}" # optional
Expand Down

0 comments on commit c2cf0c5

Please sign in to comment.