diff options
author | Sarah Brofeldt <sbrofeldt@gmail.com> | 2018-10-07 10:00:33 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-10-07 10:00:33 +0200 |
commit | 07650009686e7e8cdcac2c0cf2cf098712ff43c7 (patch) | |
tree | de9cfe21dbb70319e604ae36648869ed2dde2f26 /pkgs | |
parent | 1c2d575205f7aa3fc37d64d0606e3fd33de08d74 (diff) | |
parent | 4af38a251652a4ed67b1a98836230ce7fdbf6d56 (diff) | |
download | nixlib-07650009686e7e8cdcac2c0cf2cf098712ff43c7.tar nixlib-07650009686e7e8cdcac2c0cf2cf098712ff43c7.tar.gz nixlib-07650009686e7e8cdcac2c0cf2cf098712ff43c7.tar.bz2 nixlib-07650009686e7e8cdcac2c0cf2cf098712ff43c7.tar.lz nixlib-07650009686e7e8cdcac2c0cf2cf098712ff43c7.tar.xz nixlib-07650009686e7e8cdcac2c0cf2cf098712ff43c7.tar.zst nixlib-07650009686e7e8cdcac2c0cf2cf098712ff43c7.zip |
Merge pull request #47972 from Hodapp87/gdal_libxml2
gdal: add libxml2 to build
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/libraries/gdal/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/development/libraries/gdal/default.nix b/pkgs/development/libraries/gdal/default.nix index 1fe3bcf6cede..642063220b2c 100644 --- a/pkgs/development/libraries/gdal/default.nix +++ b/pkgs/development/libraries/gdal/default.nix @@ -1,7 +1,7 @@ { stdenv, fetchurl, fetchpatch, unzip, libjpeg, libtiff, zlib , postgresql, mysql, libgeotiff, pythonPackages, proj, geos, openssl , libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib, expat -, libiconv +, libiconv, libxml2 , netcdfSupport ? true, netcdf, hdf5, curl }: @@ -17,7 +17,7 @@ stdenv.mkDerivation rec { }; buildInputs = [ unzip libjpeg libtiff libpng proj openssl sqlite - libspatialite poppler hdf4 qhull giflib expat ] + libspatialite poppler hdf4 qhull giflib expat libxml2 ] ++ (with pythonPackages; [ python numpy wrapPython ]) ++ stdenv.lib.optional stdenv.isDarwin libiconv ++ stdenv.lib.optionals netcdfSupport [ netcdf hdf5 curl ]; @@ -38,6 +38,7 @@ stdenv.mkDerivation rec { "--with-proj=${proj}" # optional "--with-geos=${geos}/bin/geos-config"# optional "--with-hdf4=${hdf4.dev}" # optional + "--with-xml2=${libxml2.dev}/bin/xml2-config" # optional (if netcdfSupport then "--with-netcdf=${netcdf}" else "") ]; |