1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-22 06:05:13 +00:00
nixpkgs/pkgs/development/perl-modules/DB_File/default.nix

21 lines
419 B
Nix
Raw Normal View History

{fetchurl, buildPerlPackage, db}:
buildPerlPackage {
pname = "DB_File";
version = "1.851";
2012-07-29 19:54:39 +01:00
src = fetchurl {
url = "mirror://cpan/authors/id/P/PM/PMQS/DB_File-1.851.tar.gz";
2019-04-21 22:20:16 +01:00
sha256 = "1j276mng1nwxxdxnb3my427s5lb6zlnssizcnxricnvaa170kdv8";
};
preConfigure = ''
cat > config.in <<EOF
PREFIX = size_t
HASH = u_int32_t
LIB = ${db.out}/lib
INCLUDE = ${db.dev}/include
EOF
'';
}