Merge pull request #198037 from SuperSandro2000/php-cleanup

phpExtensions: little cleanup
This commit is contained in:
Elis Hirwing 2022-11-21 08:25:31 +01:00 committed by GitHub
commit 566793db55
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 13 additions and 14 deletions

View file

@ -9,7 +9,7 @@
, postPhpize ? ""
, makeFlags ? [ ]
, src ? fetchurl {
url = "http://pecl.php.net/get/${pname}-${version}.tgz";
url = "https://pecl.php.net/get/${pname}-${version}.tgz";
inherit (args) sha256;
}
, ...

View file

@ -7,7 +7,7 @@ buildPecl rec {
src = fetchFromGitHub {
owner = "DataDog";
repo = "dd-trace-php";
rev = "${version}";
rev = version;
sha256 = "sha256-AYRBzE0Detg/IHXYutZUfPRMtfthxdkSjqD0M+VcTpY=";
};

View file

@ -23,10 +23,7 @@ buildPecl {
internalDeps = [ php.extensions.sockets ];
meta = with lib; {
description = ''
This is an extension to efficiently schedule I/O, time and signal based
events using the best I/O notification mechanism available for specific platform.
'';
description = "Efficiently schedule I/O, time and signal based events using the best I/O notification mechanism available";
license = licenses.php301;
homepage = "https://bitbucket.org/osmanov/pecl-event/";
maintainers = teams.php.members;

View file

@ -15,7 +15,11 @@ buildPecl {
description = "Coroutine-based concurrency library and high performance programmatic server for PHP";
homepage = "https://www.openswoole.com/";
license = licenses.asl20;
longDescription = "Open Swoole allows you to build high-performance, async multi-tasking webservices and applications using an easy to use Coroutine API.\nOpen Swoole is a complete async solution that has built-in support for async programming via coroutines.\nIt offers a range of multi-threaded I/O modules (HTTP Server, WebSockets, TaskWorkers, Process Pools) out of the box and support for popular PHP clients like PDO for MySQL, and CURL.\nYou can use the sync or async, Coroutine API to write whole applications or create thousands of light weight Coroutines within one Linux process.";
longDescription = ''
Open Swoole allows you to build high-performance, async multi-tasking webservices and applications using an easy to use Coroutine API.\nOpen Swoole is a complete async solution that has built-in support for async programming via coroutines.
It offers a range of multi-threaded I/O modules (HTTP Server, WebSockets, TaskWorkers, Process Pools) out of the box and support for popular PHP clients like PDO for MySQL, and CURL.
You can use the sync or async, Coroutine API to write whole applications or create thousands of light weight Coroutines within one Linux process.
'';
maintainers = teams.php.members;
};
}

View file

@ -27,7 +27,7 @@ mkDerivation {
meta = with lib; {
description = "A tool to automatically fix PHP coding standards issues";
license = licenses.mit;
homepage = "http://cs.sensiolabs.org/";
homepage = "https://cs.symfony.com/";
maintainers = with maintainers; [ jtojnar ] ++ teams.php.members;
};
}

View file

@ -1,13 +1,13 @@
{ buildPecl, lib, fetchFromGitHub }:
buildPecl {
buildPecl rec {
pname = "pinba";
version = "1.1.2";
src = fetchFromGitHub {
owner = "tony2001";
repo = "pinba_extension";
rev = "RELEASE_1_1_2";
rev = "RELEASE_${lib.replaceStrings ["."] ["_"] version}";
sha256 = "0wqcqq6sb51wiawa37hbd1h9dbvmyyndzdvz87xqji7lpr9vn8jy";
};

View file

@ -9,9 +9,7 @@ buildPecl {
buildInputs = [ pcre2 ];
meta = with lib; {
description = ''
Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.
'';
description = "Google's language-neutral, platform-neutral, extensible mechanism for serializing structured data.";
license = licenses.bsd3;
homepage = "https://developers.google.com/protocol-buffers/";
maintainers = teams.php.members;

View file

@ -13,7 +13,7 @@ buildPecl {
meta = with lib; {
description = "YAML-1.1 parser and emitter";
license = licenses.mit;
homepage = "http://bd808.com/pecl-file_formats-yaml/";
homepage = "https://bd808.com/pecl-file_formats-yaml/";
maintainers = teams.php.members;
};
}