nixpkgs/pkgs/development/perl-modules/DB_File/default.nix
Eelco Dolstra ac24816344 * Move all the Perl packages out of all-packages.nix into a separate
file, perl-packages.nix.

svn path=/nixpkgs/trunk/; revision=15171
2009-04-20 12:08:09 +00:00

20 lines
398 B
Nix

{fetchurl, buildPerlPackage, db4}:
buildPerlPackage {
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
'';
}