{fetchurl, buildPerlPackage, DBI, mysql}:

buildPerlPackage {
  name = "DBD-mysql-4.013";

  src = fetchurl {
    url = mirror://cpan/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.013.tar.gz;
    sha256 = "074jm3fd9bi9am4i8alwim5i7a4gl07hzjy7a7hfdj9awbd0w9x9";
  };

  buildInputs = [mysql] ;
  propagatedBuildInputs = [DBI];

#  makeMakerFlags = "MYSQL_HOME=${mysql}";
}

{fetchurl, buildPerlPackage, DBI, mysql}:

buildPerlPackage {
  name = "DBD-mysql-4.023";

  src = fetchurl {
    url = mirror://cpan/authors/id/C/CA/CAPTTOFU/DBD-mysql-4.023.tar.gz;
    sha256 = "0j4i0i6apjwx5klk3wigh6yysssn7bs6p8c5sh31m6qxsbgyk9xa";
  };

  buildInputs = [mysql] ;
  propagatedBuildInputs = [DBI];

#  makeMakerFlags = "MYSQL_HOME=${mysql}";
}

Update to 4.023 (.013 fails to build).
perl-DBD-mysql: Update to 4.023 (.013 fails to build).
