mapnik: add optional PostgreSQL dependency

Closes #25063.
This commit is contained in:
Chris Hodapp
2017-04-21 16:50:43 +02:00
committed by Christoph Hrdinka
parent f88085d45f
commit 5864baa4c6
@@ -1,6 +1,9 @@
{ stdenv, fetchzip { stdenv, fetchzip
, boost, cairo, freetype, gdal, harfbuzz, icu, libjpeg, libpng, libtiff , boost, cairo, freetype, gdal, harfbuzz, icu, libjpeg, libpng, libtiff
, libwebp, libxml2, proj, python2, scons, sqlite, zlib , libwebp, libxml2, proj, python2, scons, sqlite, zlib
# supply a postgresql package to enable the PostGIS input plugin
, postgresql ? null
}: }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@@ -21,6 +24,9 @@ stdenv.mkDerivation rec {
buildInputs = buildInputs =
[ boost cairo freetype gdal harfbuzz icu libjpeg libpng libtiff [ boost cairo freetype gdal harfbuzz icu libjpeg libpng libtiff
libwebp libxml2 proj python2 sqlite zlib libwebp libxml2 proj python2 sqlite zlib
# optional inputs
postgresql
]; ];
configurePhase = '' configurePhase = ''