2009-02-13 10:59:01 +00:00
|
|
|
{buildPerlPackage, fetchurl, db4}:
|
2003-12-21 20:52:13 +00:00
|
|
|
|
2009-02-13 10:59:01 +00:00
|
|
|
buildPerlPackage rec {
|
|
|
|
name = "BerkeleyDB-0.36";
|
2008-10-22 19:25:01 +00:00
|
|
|
|
2003-12-21 20:52:13 +00:00
|
|
|
src = fetchurl {
|
2009-02-13 10:59:01 +00:00
|
|
|
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
|
|
|
|
sha256 = "07xf50riarb60l1h6m2dqmql8q5dij619712fsgw7ach04d8g3z1";
|
2003-12-21 20:52:13 +00:00
|
|
|
};
|
2008-10-22 19:25:01 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
echo "LIB = ${db4}/lib" > config.in
|
|
|
|
echo "INCLUDE = ${db4}/include" >> config.in
|
|
|
|
'';
|
2003-12-21 20:52:13 +00:00
|
|
|
}
|