summary refs log tree commit diff
path: root/pkgs/servers/sql/postgresql/ext/postgis.nix
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/servers/sql/postgresql/ext/postgis.nix')
-rw-r--r--pkgs/servers/sql/postgresql/ext/postgis.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/servers/sql/postgresql/ext/postgis.nix b/pkgs/servers/sql/postgresql/ext/postgis.nix
index 57dc1bdaa7e..7308c8c9389 100644
--- a/pkgs/servers/sql/postgresql/ext/postgis.nix
+++ b/pkgs/servers/sql/postgresql/ext/postgis.nix
@@ -9,6 +9,7 @@
 , json_c
 , pkgconfig
 , file
+, protobufc
 }:
 stdenv.mkDerivation rec {
   name = "postgis-${version}";
@@ -21,7 +22,8 @@ stdenv.mkDerivation rec {
     sha256 = "0pnva72f2w4jcgnl1y7nw5rdly4ipx3hji4c9yc9s0hna1n2ijxn";
   };
 
-  buildInputs = [ libxml2 postgresql geos proj perl gdal json_c pkgconfig ];
+  buildInputs = [ libxml2 postgresql geos proj gdal json_c protobufc ];
+  nativeBuildInputs = [ perl pkgconfig ];
   dontDisableStatic = true;
 
   # postgis config directory assumes /include /lib from the same root for json-c library
@@ -59,7 +61,7 @@ stdenv.mkDerivation rec {
 
   meta = with stdenv.lib; {
     description = "Geographic Objects for PostgreSQL";
-    homepage = http://postgis.refractions.net;
+    homepage = https://postgis.net/;
     license = licenses.gpl2;
     maintainers = [ maintainers.marcweber ];
     platforms = platforms.linux;