01ed8ef136
GitOrigin-RevId: 20fc948445a6c22d4e8d5178e9a6bc6e1f5417c8
20 lines
498 B
Nix
20 lines
498 B
Nix
{ lib, stdenv, buildPecl, php, valgrind, pcre2 }:
|
|
|
|
buildPecl {
|
|
pname = "swoole";
|
|
|
|
version = "5.0.1";
|
|
sha256 = "1zq5vvwjqpg3d4qv8902w54gvghjgcb3c7szi7fpqi6f51mhhwvf";
|
|
|
|
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;
|
|
};
|
|
}
|