mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-03 19:43:30 +00:00
68eb5305ac
PHP 7.3 won't be supported by upstream for the entire life cycle of the 21.11 release. Also drop the pcre' alias since it isn't needed anymore since we don't need different pcre versions anymore.
22 lines
543 B
Nix
22 lines
543 B
Nix
{ lib, buildPecl, php, valgrind, pcre2 }:
|
|
|
|
buildPecl {
|
|
pname = "swoole";
|
|
|
|
version = "4.6.4";
|
|
sha256 = "0hgndnn27q7fbsb0nw6bfdg0kyy5di9vrmf7g53jc6lsnf73ha31";
|
|
|
|
buildInputs = [ valgrind pcre2 ];
|
|
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;
|
|
};
|
|
}
|