gdal: build with xml support
This commit is contained in:
parent
cfb7ccb08c
commit
c2cf0c5f4c
@ -1,8 +1,8 @@
|
|||||||
{ stdenv, fetchurl, fetchpatch, unzip, libjpeg, libtiff, zlib
|
{ stdenv, fetchurl, fetchpatch, unzip, libjpeg, libtiff, zlib
|
||||||
, postgresql, mysql, libgeotiff, pythonPackages, proj, geos, openssl
|
, postgresql, mysql, libgeotiff, pythonPackages, proj, geos, openssl
|
||||||
, libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib
|
, libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib, expat
|
||||||
, libiconv
|
, libiconv
|
||||||
, netcdfSupport ? true, netcdf, hdf5 , curl
|
, netcdfSupport ? true, netcdf, hdf5, curl
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with stdenv.lib;
|
with stdenv.lib;
|
||||||
@ -17,12 +17,13 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ unzip libjpeg libtiff libpng proj openssl sqlite
|
buildInputs = [ unzip libjpeg libtiff libpng proj openssl sqlite
|
||||||
libspatialite poppler hdf4 qhull giflib ]
|
libspatialite poppler hdf4 qhull giflib expat ]
|
||||||
++ (with pythonPackages; [ python numpy wrapPython ])
|
++ (with pythonPackages; [ python numpy wrapPython ])
|
||||||
++ stdenv.lib.optional stdenv.isDarwin libiconv
|
++ stdenv.lib.optional stdenv.isDarwin libiconv
|
||||||
++ stdenv.lib.optionals netcdfSupport [ netcdf hdf5 curl ];
|
++ stdenv.lib.optionals netcdfSupport [ netcdf hdf5 curl ];
|
||||||
|
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
"--with-expat=${expat.dev}"
|
||||||
"--with-jpeg=${libjpeg.dev}"
|
"--with-jpeg=${libjpeg.dev}"
|
||||||
"--with-libtiff=${libtiff.dev}" # optional (without largetiff support)
|
"--with-libtiff=${libtiff.dev}" # optional (without largetiff support)
|
||||||
"--with-png=${libpng.dev}" # optional
|
"--with-png=${libpng.dev}" # optional
|
||||||
|
Loading…
x
Reference in New Issue
Block a user