php.extensions.swoole: init at 4.6.4
This commit is contained in:
parent
a3228bb6e8
commit
7b44695658
2 changed files with 23 additions and 0 deletions
21
pkgs/development/php-packages/swoole/default.nix
Normal file
21
pkgs/development/php-packages/swoole/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ lib, buildPecl, php, valgrind, pcre' }:
|
||||
|
||||
buildPecl {
|
||||
pname = "swoole";
|
||||
|
||||
version = "4.6.4";
|
||||
sha256 = "0hgndnn27q7fbsb0nw6bfdg0kyy5di9vrmf7g53jc6lsnf73ha31";
|
||||
|
||||
buildInputs = [ valgrind pcre' ];
|
||||
internalDeps = lib.optionals (lib.versionOlder php.version "7.4") [ php.extensions.hash ];
|
||||
|
||||
doCheck = true;
|
||||
checkTarget = "tests";
|
||||
|
||||
meta = with lib; {
|
||||
description = "Coroutine-based concurrency library for PHP";
|
||||
license = licenses.asl20;
|
||||
homepage = "https://www.swoole.co.uk/";
|
||||
maintainers = teams.php.members;
|
||||
};
|
||||
}
|
|
@ -138,6 +138,8 @@ lib.makeScope pkgs.newScope (self: with self; {
|
|||
|
||||
sqlsrv = callPackage ../development/php-packages/sqlsrv { };
|
||||
|
||||
swoole = callPackage ../development/php-packages/swoole { };
|
||||
|
||||
v8 = buildPecl {
|
||||
version = "0.2.2";
|
||||
pname = "v8";
|
||||
|
|
Loading…
Reference in a new issue