2008-11-24 11:24:51 +01:00
|
|
|
{fetchurl, buildPerlPackage, perlDBI, sqlite}:
|
2008-11-24 11:11:09 +01:00
|
|
|
|
2008-11-24 11:24:51 +01:00
|
|
|
buildPerlPackage {
|
2008-11-24 11:11:09 +01:00
|
|
|
name = "DBD-SQLite-1.14";
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = mirror://cpan/authors/id/M/MS/MSERGEANT/DBD-SQLite-1.14.tar.gz;
|
|
|
|
sha256 = "01qd5xfx702chg3bv2k727kfdp84zy5xh31y6njvivkp78vrs624";
|
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = [perlDBI];
|
|
|
|
|
|
|
|
makeMakerFlags = "SQLITE_LOCATION=${sqlite}";
|
|
|
|
|
|
|
|
patches = [
|
|
|
|
# Prevent segfaults in case of timeouts.
|
|
|
|
./reset.patch
|
|
|
|
];
|
2009-03-24 16:42:24 +01:00
|
|
|
|
|
|
|
# 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;
|
2008-11-24 11:11:09 +01:00
|
|
|
}
|