@@ -1,6 +1,9 @@
11{ stdenv, fetchzip
22, boost, cairo, freetype, gdal, harfbuzz, icu, libjpeg, libpng, libtiff
33, libwebp, libxml2, proj, python2, scons, sqlite, zlib
4+
5+# supply a postgresql package to enable the PostGIS input plugin
6+, postgresql ? null
47}:
58
69stdenv.mkDerivation rec {
@@ -21,6 +24,9 @@ stdenv.mkDerivation rec {
2124 buildInputs =
2225 [ boost cairo freetype gdal harfbuzz icu libjpeg libpng libtiff
2326 libwebp libxml2 proj python2 sqlite zlib
27+
28+ # optional inputs
29+ postgresql
2430 ];
2531
2632 configurePhase = ''