2021-08-22 07:53:02 +00:00
|
|
|
{ lib, stdenv, buildPecl, php, valgrind, pcre2 }:
|
2021-03-15 08:37:03 +00:00
|
|
|
|
|
|
|
buildPecl {
|
|
|
|
pname = "swoole";
|
|
|
|
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "4.8.11";
|
|
|
|
sha256 = "sha256-MH3deQniTI7df2UNfK7v1qkP5JxyGw3j9adAeZBDD2c=";
|
2021-03-15 08:37:03 +00:00
|
|
|
|
2021-08-22 07:53:02 +00:00
|
|
|
buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];
|
2021-03-15 08:37:03 +00:00
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|