phpExtensions.swoole: 5.0.3 -> 5.1.2
This commit is contained in:
parent
42edd74834
commit
c89e846875
1 changed files with 16 additions and 9 deletions
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue