git.iko.soy/typeable/nixpkgs
on master help sign in
mapnik: add optional PostgreSQL dependency

Closes #25063.

commit5864baa4c6306b1922dc3ca88db1813d5136dadf authorChris Hodapp <hodapp87@gmail.com> dateThu 20 Apr 2017, 14:31 (10 years ago) parentf88085d
1 file changed+6
pkgs/development/libraries/mapnik/default.nix+6
pkgs/development/libraries/mapnik/default.nix+6
@@ -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 = ''