02cf88bb76
GitOrigin-RevId: c4a0efdd5a728e20791b8d8d2f26f90ac228ee8d
20 lines
498 B
Nix
20 lines
498 B
Nix
{ lib, stdenv, buildPecl, php, valgrind, pcre2 }:
|
|
|
|
buildPecl {
|
|
pname = "swoole";
|
|
|
|
version = "4.8.11";
|
|
sha256 = "sha256-MH3deQniTI7df2UNfK7v1qkP5JxyGw3j9adAeZBDD2c=";
|
|
|
|
buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];
|
|
|
|
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;
|
|
};
|
|
}
|