anchor.diff:      "-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
  
positive.code: , curl
  , krb5_lib
  , openssl
  , sqlite
  , zlib
  }:
  
  let
    rev = "21df0ad2a5605884eb25679fcb68ca4f6fcc4cd3";
    date = "2018-02-09";
  in
  stdenv.mkDerivation rec {
    name = "mariadb-connector-c-${date}";
  
    src = fetchFromGitHub {
      version = 5;
      owner = "MariaDB";
      repo = "mariadb-connector-c";
      inherit rev;
      sha256 = "651a74b4c9ab149fb06ff7f5cf6991f86b5c02b0ac1d8632b3e0791243fcec2e";
    };
  
    nativeBuildInputs = [
  
negative.code:     curl
      krb5_lib
      openssl
      zlib
    ];
  
  