nixpkgs/pkgs/development/php-packages/swoole/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
498 B
Nix
Raw Normal View History

{ lib, stdenv, buildPecl, php, valgrind, pcre2 }:
2021-03-11 18:01:45 +01:00
buildPecl {
pname = "swoole";
2022-11-12 12:40:52 +01:00
version = "5.0.1";
sha256 = "1zq5vvwjqpg3d4qv8902w54gvghjgcb3c7szi7fpqi6f51mhhwvf";
2021-03-11 18:01:45 +01:00
buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];
2021-03-11 18:01:45 +01: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;
};
}