mapnik: add optional PostgreSQL dependency

Closes #25063.
This commit is contained in:
Chris Hodapp 2017-04-20 14:31:37 -04:00 committed by Christoph Hrdinka
parent f88085d45f
commit 5864baa4c6
No known key found for this signature in database
GPG key ID: 72F8CDD6B2D585C9

View file

@ -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 = ''