diff options
author | Chris Hodapp <hodapp87@gmail.com> | 2017-04-20 14:31:37 -0400 |
---|---|---|
committer | Christoph Hrdinka <c.github@hrdinka.at> | 2017-04-21 16:50:43 +0200 |
commit | 5864baa4c6306b1922dc3ca88db1813d5136dadf (patch) | |
tree | 1bf1342addc4275eececf83c166da7f6d63c83b8 | |
parent | f88085d45f2afcac335720d525bc95bb744d10d2 (diff) |
mapnik: add optional PostgreSQL dependency
Closes #25063.
-rw-r--r-- | pkgs/development/libraries/mapnik/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/libraries/mapnik/default.nix b/pkgs/development/libraries/mapnik/default.nix index 661e1270e7f65..4bd89df1581ad 100644 --- a/pkgs/development/libraries/mapnik/default.nix +++ b/pkgs/development/libraries/mapnik/default.nix @@ -1,6 +1,9 @@ { stdenv, fetchzip , boost, cairo, freetype, gdal, harfbuzz, icu, libjpeg, libpng, libtiff , libwebp, libxml2, proj, python2, scons, sqlite, zlib + +# supply a postgresql package to enable the PostGIS input plugin +, postgresql ? null }: stdenv.mkDerivation rec { @@ -21,6 +24,9 @@ stdenv.mkDerivation rec { buildInputs = [ boost cairo freetype gdal harfbuzz icu libjpeg libpng libtiff libwebp libxml2 proj python2 sqlite zlib + + # optional inputs + postgresql ]; configurePhase = '' |