anchor.diff:  , json_c
   , pkgconfig
   , file
  +, protobufc
   }:
   stdenv.mkDerivation rec {
     name = "postgis-${version}";
  
positive.code:     sha256 = "0pnva72f2w4jcgnl1y7nw5rdly4ipx3hji4c9yc9s0hna1n2ijxn";
    };
  
    buildInputs = [ libxml2 postgresql geos proj perl gdal json_c pkgconfig ];
    dontDisableStatic = true;
  
    # postgis config directory assumes /include /lib from the same root for json-c library
  
negative.code: 
    meta = with stdenv.lib; {
      description = "Geographic Objects for PostgreSQL";
      homepage = https://postgis.net/;
      license = licenses.gpl2;
      maintainers = [ maintainers.marcweber ];
      platforms = platforms.linux;
  