mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
17 lines
387 B
Nix
17 lines
387 B
Nix
{buildPerlPackage, fetchurl, db}:
|
|
|
|
buildPerlPackage {
|
|
pname = "BerkeleyDB";
|
|
version = "0.61";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://cpan/authors/id/P/PM/PMQS/BerkeleyDB-0.61.tar.gz";
|
|
sha256 = "0l65v301cz6a9dxcw6a4ps2mnr5zq358yn81favap6i092krggiz";
|
|
};
|
|
|
|
preConfigure = ''
|
|
echo "LIB = ${db.out}/lib" > config.in
|
|
echo "INCLUDE = ${db.dev}/include" >> config.in
|
|
'';
|
|
}
|