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