2020-10-16 20:44:37 +00:00
|
|
|
{ buildPecl, lib, php }:
|
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "mailparse";
|
|
|
|
|
2020-10-27 00:29:36 +00:00
|
|
|
version = "3.1.1";
|
|
|
|
sha256 = "02nfjbgyjbr48rw6r46gd713hkxh7nghg2rcbr726zhzz182c3y7";
|
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
|
|
|
}
|