Files
nixpkgs/pkgs/development/php-packages/mailparse/default.nix
T
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

25 lines
508 B
Nix

{
buildPecl,
lib,
php,
}:
buildPecl {
pname = "mailparse";
version = "3.1.8";
hash = "sha256-Wb6rTvhRdwxJW6egcmq0DgmBNUaaEdnI5mWwiclu/C8=";
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 ];
};
}