nixpkgs/pkgs/development/php-packages/swoole/default.nix
Maximilian Bosch c54778b345
php84Extensions.swoole: mark as broken
https://hydra.nixos.org/build/276557313

We have to await version 6.0 to support PHP 8.4.
2024-11-01 18:33:23 +01:00

39 lines
808 B
Nix

{
lib,
stdenv,
buildPecl,
php,
valgrind,
pcre2,
fetchFromGitHub,
}:
let
version = "5.1.2";
in
buildPecl {
inherit version;
pname = "swoole";
src = fetchFromGitHub {
owner = "swoole";
repo = "swoole-src";
rev = "v${version}";
hash = "sha256-WTsntvauiooj081mOoFcK6CVpnCCR/cEQtJbsOIJ/wo=";
};
buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.hostPlatform.isDarwin) [ valgrind ];
# tests require internet access
doCheck = false;
meta = {
changelog = "https://github.com/swoole/swoole-src/releases/tag/v${version}";
description = "Coroutine-based concurrency library for PHP";
homepage = "https://www.swoole.com";
license = lib.licenses.asl20;
maintainers = lib.teams.php.members;
broken = lib.versionAtLeast php.version "8.4";
};
}