anchor.diff:      sha256 = "0jh7filpf5dk5iz5acj7y3y49ihnzqypxckdlj0sjigbqq6hlsmf";
     };
   
  -  buildInputs = [ unzip libjpeg libtiff libpng proj openssl ]
  +  buildInputs = [ unzip libjpeg libtiff libpng proj openssl sqlite libspatialite ]
     ++ (with pythonPackages; [ python numpy wrapPython ])
     ++ (stdenv.lib.optionals netcdfSupport [ netcdf hdf5 curl ]);
   
  
positive.code:     "--with-libtiff=${libtiff.dev}" # optional (without largetiff support)
      "--with-png=${libpng.dev}"      # optional
      "--with-libz=${zlib.dev}"       # optional
  
      "--with-pg=${postgresql}/bin/pg_config"
      "--with-mysql=${mysql.lib.dev}/bin/mysql_config"
      "--with-geotiff=${libgeotiff}"
      "--with-python"               # optional
      "--with-static-proj4=${proj}" # optional
      "--with-geos=${geos}/bin/geos-config"# optional
  
negative.code: { stdenv, fetchurl, composableDerivation, unzip, libjpeg, libtiff, zlib
  , postgresql, mysql, libgeotiff, pythonPackages, proj, geos, openssl
  , libpng, sqlite, libspatialite
  , netcdf, hdf5 , curl
  , netcdfSupport ? true
   }:
  
  with stdenv.lib;
   
  composableDerivation.composableDerivation {} (fixed: rec {
    version = "2.1.3";
    name = "gdal-${version}";
  