mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-12-04 03:40:18 +00:00
25 lines
508 B
Nix
25 lines
508 B
Nix
{
|
|
buildPecl,
|
|
lib,
|
|
php,
|
|
}:
|
|
|
|
buildPecl {
|
|
pname = "mailparse";
|
|
|
|
version = "3.2.1";
|
|
hash = "sha256-qfCSroTzLxUUmgmponi7INN5TL+1eJPqtJM4FNerL9U=";
|
|
|
|
internalDeps = [ php.extensions.mbstring ];
|
|
postConfigure = ''
|
|
echo "#define HAVE_MBSTRING 1" >> config.h
|
|
'';
|
|
|
|
meta = {
|
|
description = "Mailparse is an extension for parsing and working with email messages";
|
|
license = lib.licenses.php301;
|
|
homepage = "https://pecl.php.net/package/mailparse";
|
|
teams = [ lib.teams.php ];
|
|
};
|
|
}
|