mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00:00
phpExtensions.mailparse: Move to separate directory
This commit is contained in:
parent
ba173b438a
commit
f8180fed9a
15
pkgs/development/php-packages/mailparse/default.nix
Normal file
15
pkgs/development/php-packages/mailparse/default.nix
Normal 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;
|
||||
}
|
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue