anchor.diff:      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
  
positive.code: , json_c
  , pkgconfig
  , file
  }:
  stdenv.mkDerivation rec {
    name = "postgis-${version}";
  
negative.code: 
    meta = with stdenv.lib; {
      description = "Geographic Objects for PostgreSQL";
      homepage = https://postgis.net/;
      license = licenses.gpl2;
      maintainers = [ maintainers.marcweber ];
      platforms = platforms.linux;
  