Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 24 lines 524 B view raw
1{ 2 buildPecl, 3 lib, 4 php, 5}: 6 7buildPecl { 8 pname = "mailparse"; 9 10 version = "3.1.6"; 11 hash = "sha256-pp8WBVg+q9tZws1MFzNLMmc5ih1H4f1+25LYvvne4Ag="; 12 13 internalDeps = [ php.extensions.mbstring ]; 14 postConfigure = '' 15 echo "#define HAVE_MBSTRING 1" >> config.h 16 ''; 17 18 meta = with lib; { 19 description = "Mailparse is an extension for parsing and working with email messages"; 20 license = licenses.php301; 21 homepage = "https://pecl.php.net/package/mailparse"; 22 maintainers = lib.teams.php.members; 23 }; 24}