From 5864baa4c6306b1922dc3ca88db1813d5136dadf Mon Sep 17 00:00:00 2001 From: Chris Hodapp Date: Thu, 20 Apr 2017 14:31:37 -0400 Subject: [PATCH] mapnik: add optional PostgreSQL dependency Closes #25063. --- pkgs/development/libraries/mapnik/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/libraries/mapnik/default.nix b/pkgs/development/libraries/mapnik/default.nix index 661e1270e7f..4bd89df1581 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 = ''