1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-25 07:00:43 +00:00
nixpkgs/pkgs/development/perl-modules/BerkeleyDB/default.nix
Eelco Dolstra cd6864e7e9 * Perl BerkeleyDB module: updated to 0.36 since "make test" failed in
the old one.

svn path=/nixpkgs/trunk/; revision=14068
2009-02-13 10:59:01 +00:00

16 lines
364 B
Nix

{buildPerlPackage, fetchurl, db4}:
buildPerlPackage rec {
name = "BerkeleyDB-0.36";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
sha256 = "07xf50riarb60l1h6m2dqmql8q5dij619712fsgw7ach04d8g3z1";
};
preConfigure = ''
echo "LIB = ${db4}/lib" > config.in
echo "INCLUDE = ${db4}/include" >> config.in
'';
}