gdal: build with xml support

+4 -3
+4 -3
pkgs/development/libraries/gdal/default.nix
··· 1 1 { stdenv, fetchurl, fetchpatch, unzip, libjpeg, libtiff, zlib 2 2 , postgresql, mysql, libgeotiff, pythonPackages, proj, geos, openssl 3 - , libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib 3 + , libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib, expat 4 4 , libiconv 5 - , netcdfSupport ? true, netcdf, hdf5 , curl 5 + , netcdfSupport ? true, netcdf, hdf5, curl 6 6 }: 7 7 8 8 with stdenv.lib; ··· 17 17 }; 18 18 19 19 buildInputs = [ unzip libjpeg libtiff libpng proj openssl sqlite 20 - libspatialite poppler hdf4 qhull giflib ] 20 + libspatialite poppler hdf4 qhull giflib expat ] 21 21 ++ (with pythonPackages; [ python numpy wrapPython ]) 22 22 ++ stdenv.lib.optional stdenv.isDarwin libiconv 23 23 ++ stdenv.lib.optionals netcdfSupport [ netcdf hdf5 curl ]; 24 24 25 25 configureFlags = [ 26 + "--with-expat=${expat.dev}" 26 27 "--with-jpeg=${libjpeg.dev}" 27 28 "--with-libtiff=${libtiff.dev}" # optional (without largetiff support) 28 29 "--with-png=${libpng.dev}" # optional