tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
gdal: build with xml support
Orivej Desh
7 years ago
c2cf0c5f
cfb7ccb0
+4
-3
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
gdal
default.nix
+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
3
-
, libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib
3
3
+
, libpng, sqlite, libspatialite, poppler, hdf4, qhull, giflib, expat
4
4
, libiconv
5
5
-
, netcdfSupport ? true, netcdf, hdf5 , curl
5
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
20
-
libspatialite poppler hdf4 qhull giflib ]
20
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
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