From c89e846875d286aaaf0b4b4adf8f211d185f4d89 Mon Sep 17 00:00:00 2001 From: Andrew Warren-Love Date: Mon, 18 Dec 2023 11:00:08 +0000 Subject: [PATCH] phpExtensions.swoole: 5.0.3 -> 5.1.2 --- .../php-packages/swoole/default.nix | 25 ++++++++++++------- 1 file changed, 16 insertions(+), 9 deletions(-) diff --git a/pkgs/development/php-packages/swoole/default.nix b/pkgs/development/php-packages/swoole/default.nix index fa739f16a97d..f9dcb781c0e9 100644 --- a/pkgs/development/php-packages/swoole/default.nix +++ b/pkgs/development/php-packages/swoole/default.nix @@ -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; }; }