anchor.diff:      curl
       krb5_lib
       openssl
  -    sqlite
       zlib
     ];
   
  
positive.code:     "-DWITH_MYSQLCOMPAT=ON"
      "-DWITH_UNITTEST=OFF"
      "-DWITH_EXTERNAL_ZLIB=ON"
      "-DWITH_SQLITE=ON"
    ];
  
    # Hack to make sure we include the libpath in the _config binaries
  
negative.code: , curl
  , krb5_lib
  , openssl
  , zlib
  }:
  
  let
    rev = "1fe8a067f95c86596261b2049a0b68c003877d08";
    date = "2018-05-09";
  in
  stdenv.mkDerivation rec {
    name = "mariadb-connector-c-${date}";
  
    src = fetchFromGitHub {
      version = 6;
      owner = "MariaDB";
      repo = "mariadb-connector-c";
      inherit rev;
      sha256 = "0e23b68fc623679894d72b6d95ed38ab293b8e64968930047f41b4392ddcde64";
    };
  
    nativeBuildInputs = [
  