git.iko.soy/typeable/nixpkgs
on master help sign in
gdal: build with xml support
commitc2cf0c5f4ce0457728d9c674dde9a598974be130 authorOrivej Desh <orivej@gmx.fr> dateSat 11 Aug 2018, 00:56 (8 years ago) parentcfb7ccb
1 file changed+4−3
pkgs/development/libraries/gdal/default.nix+4−3
pkgs/development/libraries/gdal/default.nix+4−3
@@ -1,8 +1,8 @@
11{ stdenv, fetchurl, fetchpatch, unzip, libjpeg, libtiff, zlib
22, postgresql, mysql, libgeotiff, pythonPackages, proj, geos, openssl
3−, libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib
3+, libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib, expat
44, libiconv
5−, netcdfSupport ? true, netcdf, hdf5 , curl
5+, netcdfSupport ? true, netcdf, hdf5, curl
66}:
77
88with stdenv.lib;
@@ -17,12 +17,13 @@ stdenv.mkDerivation rec {
1717 };
1818
1919 buildInputs = [ unzip libjpeg libtiff libpng proj openssl sqlite
20− libspatialite poppler hdf4 qhull giflib ]
20+ libspatialite poppler hdf4 qhull giflib expat ]
2121 ++ (with pythonPackages; [ python numpy wrapPython ])
2222 ++ stdenv.lib.optional stdenv.isDarwin libiconv
2323 ++ stdenv.lib.optionals netcdfSupport [ netcdf hdf5 curl ];
2424
2525 configureFlags = [
26+ "--with-expat=${expat.dev}"
2627 "--with-jpeg=${libjpeg.dev}"
2728 "--with-libtiff=${libtiff.dev}" # optional (without largetiff support)
2829 "--with-png=${libpng.dev}" # optional