diff options
author | Chris Hodapp <hodapp87@gmail.com> | 2018-10-06 11:08:47 -0400 |
---|---|---|
committer | Chris Hodapp <hodapp87@gmail.com> | 2018-10-06 11:09:21 -0400 |
commit | 4af38a251652a4ed67b1a98836230ce7fdbf6d56 (patch) | |
tree | a6f8178a2ce5febf73b68d36a685c5500ad21870 /pkgs/development/libraries/gdal | |
parent | 171752daee9aa2b4049d70a7cebe6a72d2838f90 (diff) | |
download | nixpkgs-4af38a251652a4ed67b1a98836230ce7fdbf6d56.tar nixpkgs-4af38a251652a4ed67b1a98836230ce7fdbf6d56.tar.gz nixpkgs-4af38a251652a4ed67b1a98836230ce7fdbf6d56.tar.bz2 nixpkgs-4af38a251652a4ed67b1a98836230ce7fdbf6d56.tar.lz nixpkgs-4af38a251652a4ed67b1a98836230ce7fdbf6d56.tar.xz nixpkgs-4af38a251652a4ed67b1a98836230ce7fdbf6d56.tar.zst nixpkgs-4af38a251652a4ed67b1a98836230ce7fdbf6d56.zip |
gdal: Add libxml2 to build
Diffstat (limited to 'pkgs/development/libraries/gdal')
-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 1fe3bcf6ced..642063220b2 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 "") ]; |