2020-10-16 20:44:37 +00:00
|
|
|
{ buildPecl, lib, php }:
|
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "mailparse";
|
|
|
|
|
2022-09-30 11:47:45 +00:00
|
|
|
version = "3.1.4";
|
|
|
|
sha256 = "sha256-FHSSGzLH7vglFE4r4ZsenUdQWtQJcpgz/VDCXqzflXc=";
|
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
|
|
|
}
|