nixpkgs/pkgs/development/perl-modules/DBD-mysql/default.nix
2018-06-08 13:48:50 +00:00

17 lines
399 B
Nix

{ fetchurl, buildPerlPackage, DBI, mysql }:
buildPerlPackage rec {
name = "DBD-mysql-4.046";
src = fetchurl {
url = "mirror://cpan/authors/id/C/CA/CAPTTOFU/${name}.tar.gz";
sha256 = "1xziv9w87cl3fbl1mqkdrx28mdqly3gs6gs1ynbmpl2rr4p6arb1";
};
buildInputs = [ mysql.connector-c ] ;
propagatedBuildInputs = [ DBI ];
doCheck = false;
# makeMakerFlags = "MYSQL_HOME=${mysql}";
}