15 lines
367 B
Nix
15 lines
367 B
Nix
{buildPerlPackage, fetchurl, db}:
|
|
|
|
buildPerlPackage rec {
|
|
name = "BerkeleyDB-0.61";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
|
|
sha256 = "0l65v301cz6a9dxcw6a4ps2mnr5zq358yn81favap6i092krggiz";
|
|
};
|
|
|
|
preConfigure = ''
|
|
echo "LIB = ${db.out}/lib" > config.in
|
|
echo "INCLUDE = ${db.dev}/include" >> config.in
|
|
'';
|
|
}
|