2014-01-31 20:05:37 +00:00
|
|
|
{fetchurl, buildPerlPackage, db}:
|
2008-02-12 08:42:56 +00:00
|
|
|
|
2012-07-29 18:54:39 +00:00
|
|
|
buildPerlPackage rec {
|
2013-12-20 15:57:24 +00:00
|
|
|
name = "DB_File-1.831";
|
2012-07-29 18:54:39 +00:00
|
|
|
|
2008-02-12 08:42:56 +00:00
|
|
|
src = fetchurl {
|
2012-07-29 18:54:39 +00:00
|
|
|
url = "mirror://cpan/authors/id/P/PM/PMQS/${name}.tar.gz";
|
2013-12-20 15:57:24 +00:00
|
|
|
sha256 = "0hq2vvcsa3nkb5bpcl0nkfsxhk8wyrsp3p3ara18rscrfd783hjs";
|
2008-02-12 08:42:56 +00:00
|
|
|
};
|
2008-10-22 19:25:01 +00:00
|
|
|
|
|
|
|
preConfigure = ''
|
|
|
|
cat > config.in <<EOF
|
|
|
|
PREFIX = size_t
|
|
|
|
HASH = u_int32_t
|
2018-05-22 13:47:28 +00:00
|
|
|
LIB = ${db.out}/lib
|
|
|
|
INCLUDE = ${db.dev}/include
|
2008-10-22 19:25:01 +00:00
|
|
|
EOF
|
|
|
|
'';
|
2008-02-12 08:42:56 +00:00
|
|
|
}
|