nixpkgs/pkgs/development/perl-modules/DBD-SQLite/default.nix
Eelco Dolstra fc34431dde * Latest DBD::SQLite. Fix building against an external SQLite.
svn path=/nixpkgs/trunk/; revision=16138
2009-07-02 13:55:38 +00:00

24 lines
596 B
Nix

{fetchurl, buildPerlPackage, DBI, sqlite}:
buildPerlPackage rec {
name = "DBD-SQLite-1.25";
src = fetchurl {
url = "mirror://cpan/authors/id/A/AD/ADAMK/${name}.tar.gz";
sha256 = "17dd09jhf2kk33rqlsg74c1sb049qabmyh857alqc9fhffd1yb43";
};
propagatedBuildInputs = [DBI];
makeMakerFlags = "SQLITE_LOCATION=${sqlite}";
patches = [
# Support building against our own sqlite.
./external-sqlite.patch
];
# Disabled because the tests can randomly fail due to timeouts
# (e.g. "database is locked(5) at dbdimp.c line 402 at t/07busy.t").
#doCheck = false;
}