2024-05-15 15:35:15 +00:00
|
|
|
{
|
|
|
|
buildPecl,
|
|
|
|
lib,
|
|
|
|
php,
|
|
|
|
}:
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "mailparse";
|
|
|
|
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "3.1.6";
|
|
|
|
hash = "sha256-pp8WBVg+q9tZws1MFzNLMmc5ih1H4f1+25LYvvne4Ag=";
|
2020-10-16 20:44:37 +00:00
|
|
|
|
|
|
|
internalDeps = [ php.extensions.mbstring ];
|
|
|
|
postConfigure = ''
|
|
|
|
echo "#define HAVE_MBSTRING 1" >> config.h
|
|
|
|
'';
|
|
|
|
|
2021-06-28 23:13:55 +00:00
|
|
|
meta = with lib; {
|
|
|
|
description = "Mailparse is an extension for parsing and working with email messages";
|
|
|
|
license = licenses.php301;
|
|
|
|
homepage = "https://pecl.php.net/package/mailparse";
|
|
|
|
maintainers = lib.teams.php.members;
|
|
|
|
};
|
2020-10-16 20:44:37 +00:00
|
|
|
}
|