forked from mirrors/nixpkgs
21 lines
520 B
Nix
21 lines
520 B
Nix
{ buildPecl, lib, php }:
|
|
|
|
buildPecl {
|
|
pname = "mailparse";
|
|
|
|
version = "3.1.1";
|
|
sha256 = "02nfjbgyjbr48rw6r46gd713hkxh7nghg2rcbr726zhzz182c3y7";
|
|
|
|
internalDeps = [ php.extensions.mbstring ];
|
|
postConfigure = ''
|
|
echo "#define HAVE_MBSTRING 1" >> config.h
|
|
'';
|
|
|
|
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;
|
|
};
|
|
}
|