nixpkgs-suyu/pkgs/development/perl-modules/DBD-mysql/default.nix
2016-12-15 17:17:57 -05:00

17 lines
391 B
Nix

{ fetchurl, buildPerlPackage, DBI, mysql }:
buildPerlPackage rec {
name = "DBD-mysql-4.041";
src = fetchurl {
url = "mirror://cpan/authors/id/M/MI/MICHIELB/${name}.tar.gz";
sha256 = "0h4h6zwzj8fwh9ljb8svnsa0a3ch4p10hp59kpdibdb4qh8xwxs7";
};
buildInputs = [ mysql.lib ] ;
propagatedBuildInputs = [ DBI ];
doCheck = false;
# makeMakerFlags = "MYSQL_HOME=${mysql}";
}