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

16 lines
373 B
Nix
Raw Normal View History

{buildPerlPackage, fetchurl, db}:
buildPerlPackage rec {
2013-12-14 20:27:22 +00:00
name = "BerkeleyDB-0.54";
src = fetchurl {
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
2013-12-14 20:27:22 +00:00
sha256 = "010e66d0034b93a8397c600da320611149aef7861eaf1f93b95e49ae37b825b8";
};
preConfigure = ''
echo "LIB = ${db}/lib" > config.in
echo "INCLUDE = ${db}/include" >> config.in
'';
}