Skip to content

Commit

Permalink
mapnik: add optional PostgreSQL dependency
Browse files Browse the repository at this point in the history
Closes #25063.
  • Loading branch information
Hodapp87 authored and hrdinka committed Apr 21, 2017
1 parent f88085d commit 5864baa
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions 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 {
Expand All @@ -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 = ''
Expand Down

0 comments on commit 5864baa

Please sign in to comment.