phpExtensions.swoole: 5.0.3 -> 5.1.2

This commit is contained in:
Andrew Warren-Love 2023-12-18 11:00:08 +00:00 committed by Pol Dellaiera
parent 42edd74834
commit c89e846875
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

@ -1,7 +1,14 @@
{ lib, stdenv, buildPecl, php, valgrind, pcre2, fetchFromGitHub }:
{ lib
, stdenv
, buildPecl
, php
, valgrind
, pcre2
, fetchFromGitHub
}:
let
version = "5.0.3";
version = "5.1.2";
in buildPecl {
inherit version;
pname = "swoole";
@ -10,19 +17,19 @@ in buildPecl {
owner = "swoole";
repo = "swoole-src";
rev = "v${version}";
sha256 = "sha256-xadseYMbA+llzTf9JFIitJK2iR0dN8vAjv3n9/e7FGs=";
hash = "sha256-WTsntvauiooj081mOoFcK6CVpnCCR/cEQtJbsOIJ/wo=";
};
buildInputs = [ pcre2 ] ++ lib.optionals (!stdenv.isDarwin) [ valgrind ];
doCheck = true;
checkTarget = "tests";
# tests require internet access
doCheck = false;
meta = with lib; {
meta = {
changelog = "https://github.com/swoole/swoole-src/releases/tag/v${version}";
description = "Coroutine-based concurrency library for PHP";
license = licenses.asl20;
homepage = "https://www.swoole.co.uk/";
maintainers = teams.php.members;
homepage = "https://www.swoole.com";
license = lib.licenses.asl20;
maintainers = lib.teams.php.members;
};
}