Skip to content

Commit 4594cef

Browse files
authored
phpExtensions.parallel: init at 1.2.4 (#350771)
2 parents dc4a237 + bab2c41 commit 4594cef

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
{
2+
buildPecl,
3+
lib,
4+
php,
5+
}:
6+
7+
buildPecl {
8+
pname = "parallel";
9+
version = "1.2.4";
10+
hash = "sha256-s9W9aZpQsJLdzZ/d2E1iGDsMTAAjeWbOgWeKP6nNp0A=";
11+
meta = {
12+
description = "Parallel concurrency API";
13+
# parallel extension requires PHP with ZTS enabled
14+
# we mark extension as broken if ZTS support isn't enabled
15+
broken = !php.ztsSupport;
16+
homepage = "https://pecl.php.net/package/parallel";
17+
license = lib.licenses.php301;
18+
maintainers = lib.teams.php.members;
19+
};
20+
}

pkgs/top-level/php-packages.nix

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -301,6 +301,8 @@ in {
301301

302302
openswoole = callPackage ../development/php-packages/openswoole { };
303303

304+
parallel = callPackage ../development/php-packages/parallel { };
305+
304306
pdlib = callPackage ../development/php-packages/pdlib { };
305307

306308
pcov = callPackage ../development/php-packages/pcov { };

0 commit comments

Comments
 (0)