mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-19 12:28:51 +00:00
18 lines
399 B
Nix
18 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}";
|
|
}
|