nixpkgs/pkgs/development/perl-modules/DB_File/default.nix
Eelco Dolstra cd48c1b496 * Unbreak the DB_File / BerkeleyDB Perl modules.
svn path=/nixpkgs/trunk/; revision=13102
2008-10-22 19:25:01 +00:00

22 lines
410 B
Nix

{fetchurl, perl, db4}:
import ../generic perl {
name = "DB_File-1.816";
src = fetchurl {
url = mirror://cpan/authors/id/P/PM/PMQS/DB_File-1.816.tar.gz;
sha256 = "1a668hk5v0l180kbqss2hq9khl756cmrykn8fz1rl4qzsp6lq284";
};
preConfigure = ''
cat > config.in <<EOF
PREFIX = size_t
HASH = u_int32_t
LIB = ${db4}/lib
INCLUDE = ${db4}/include
EOF
'';
inherit db4;
}