3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/perl-modules/BerkeleyDB/default.nix

16 lines
367 B
Nix
Raw Normal View History

{buildPerlPackage, fetchurl, db}:
buildPerlPackage rec {
2019-04-21 22:18:52 +01:00
name = "BerkeleyDB-0.61";
2018-06-08 12:34:30 +01:00
src = fetchurl {
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
2019-04-21 22:18:52 +01:00
sha256 = "0l65v301cz6a9dxcw6a4ps2mnr5zq358yn81favap6i092krggiz";
};
preConfigure = ''
echo "LIB = ${db.out}/lib" > config.in
echo "INCLUDE = ${db.dev}/include" >> config.in
'';
}