nixpkgs/pkgs/development/perl-modules/DBD-SQLite/default.nix
Eelco Dolstra 9cb29889d2 * A function "buildPerlPackage" to replace all those "import
../development/perl-modules/generic perl" incantations.

svn path=/nixpkgs/trunk/; revision=13387
2008-11-24 10:24:51 +00:00

20 lines
441 B
Nix

{fetchurl, buildPerlPackage, perlDBI, sqlite}:
buildPerlPackage {
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
];
}