phpExtensions.parallel: init at 1.2.4 (#350771)

This commit is contained in:
Pol Dellaiera 2024-10-26 05:21:10 +02:00 committed by GitHub
commit 4594cefa10
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{
buildPecl,
lib,
php,
}:
buildPecl {
pname = "parallel";
version = "1.2.4";
hash = "sha256-s9W9aZpQsJLdzZ/d2E1iGDsMTAAjeWbOgWeKP6nNp0A=";
meta = {
description = "Parallel concurrency API";
# parallel extension requires PHP with ZTS enabled
# we mark extension as broken if ZTS support isn't enabled
broken = !php.ztsSupport;
homepage = "https://pecl.php.net/package/parallel";
license = lib.licenses.php301;
maintainers = lib.teams.php.members;
};
}

View File

@ -301,6 +301,8 @@ in {
openswoole = callPackage ../development/php-packages/openswoole { };
parallel = callPackage ../development/php-packages/parallel { };
pdlib = callPackage ../development/php-packages/pdlib { };
pcov = callPackage ../development/php-packages/pcov { };