diff options
author | Orivej Desh <orivej@gmx.fr> | 2018-08-11 00:56:22 +0000 |
---|---|---|
committer | Orivej Desh <orivej@gmx.fr> | 2018-08-11 00:58:31 +0000 |
commit | c2cf0c5f4ce0457728d9c674dde9a598974be130 (patch) | |
tree | 1bd85fa760ad029f41cd7de8b88a3869b20a77b7 /pkgs/development/libraries/gdal | |
parent | cfb7ccb08c871c77aa11b3b1549f177eb7025820 (diff) | |
download | nixlib-c2cf0c5f4ce0457728d9c674dde9a598974be130.tar nixlib-c2cf0c5f4ce0457728d9c674dde9a598974be130.tar.gz nixlib-c2cf0c5f4ce0457728d9c674dde9a598974be130.tar.bz2 nixlib-c2cf0c5f4ce0457728d9c674dde9a598974be130.tar.lz nixlib-c2cf0c5f4ce0457728d9c674dde9a598974be130.tar.xz nixlib-c2cf0c5f4ce0457728d9c674dde9a598974be130.tar.zst nixlib-c2cf0c5f4ce0457728d9c674dde9a598974be130.zip |
gdal: build with xml support
Diffstat (limited to 'pkgs/development/libraries/gdal')
-rw-r--r-- | pkgs/development/libraries/gdal/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/pkgs/development/libraries/gdal/default.nix b/pkgs/development/libraries/gdal/default.nix index 434e13dda895..f6d8cd6fa4c2 100644 --- a/pkgs/development/libraries/gdal/default.nix +++ b/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; @@ -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 |