1{
2 buildPecl,
3 lib,
4 php,
5}:
6
7buildPecl {
8 pname = "mailparse";
9
10 version = "3.1.8";
11 hash = "sha256-Wb6rTvhRdwxJW6egcmq0DgmBNUaaEdnI5mWwiclu/C8=";
12
13 internalDeps = [ php.extensions.mbstring ];
14 postConfigure = ''
15 echo "#define HAVE_MBSTRING 1" >> config.h
16 '';
17
18 meta = with lib; {
19 description = "Mailparse is an extension for parsing and working with email messages";
20 license = licenses.php301;
21 homepage = "https://pecl.php.net/package/mailparse";
22 teams = [ lib.teams.php ];
23 };
24}