phpExtensions.mailparse: Move to separate directory

This commit is contained in:
Elis Hirwing 2020-10-11 19:00:38 +02:00
parent ba173b438a
commit f8180fed9a
No known key found for this signature in database
GPG Key ID: D57EFA625C9A925F
2 changed files with 16 additions and 12 deletions

View File

@ -0,0 +1,15 @@
{ buildPecl, lib, php }:
buildPecl {
pname = "mailparse";
version = "3.0.3";
sha256 = "00nk14jbdbln93mx3ag691avc11ff94hkadrcv5pn51c6ihsxbmz";
internalDeps = [ php.extensions.mbstring ];
postConfigure = ''
echo "#define HAVE_MBSTRING 1" >> config.h
'';
meta.maintainers = lib.teams.php.members;
}

View File

@ -78,18 +78,7 @@ in
imagick = callPackage ../development/php-packages/imagick { };
mailparse = buildPecl {
version = "3.0.3";
pname = "mailparse";
sha256 = "00nk14jbdbln93mx3ag691avc11ff94hkadrcv5pn51c6ihsxbmz";
internalDeps = [ php.extensions.mbstring ];
postConfigure = ''
echo "#define HAVE_MBSTRING 1" >> config.h
'';
meta.maintainers = lib.teams.php.members;
};
mailparse = callPackage ../development/php-packages/mailparse { };
maxminddb = buildPecl rec {
pname = "maxminddb";