Merge pull request #85575 from etu/php-maintainer-team

PHP maintainer team
This commit is contained in:
Elis Hirwing 2020-04-29 19:56:03 +02:00 committed by GitHub
commit 3b21abb3d3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 87 additions and 25 deletions

3
.github/CODEOWNERS vendored
View File

@ -176,6 +176,7 @@
# PHP # PHP
/doc/languages-frameworks/php.section.md @etu /doc/languages-frameworks/php.section.md @etu
/nixos/tests/php @etu
/pkgs/build-support/build-pecl.nix @etu
/pkgs/development/interpreters/php @etu /pkgs/development/interpreters/php @etu
/pkgs/top-level/php-packages.nix @etu /pkgs/top-level/php-packages.nix @etu
/pkgs/build-support/build-pecl.nix @etu

View File

@ -43,6 +43,17 @@ with lib.maintainers; {
scope = "Maintain GNOME desktop environment and platform."; scope = "Maintain GNOME desktop environment and platform.";
}; };
php = {
members = [
aanderse
etu
globin
ma27
talyz
];
scope = "Maintain PHP related packages and extensions.";
};
podman = { podman = {
members = [ members = [
adisbladis adisbladis

View File

@ -1,6 +1,6 @@
import ../make-test-python.nix ({pkgs, ...}: { import ../make-test-python.nix ({pkgs, lib, ...}: {
name = "php-fpm-nginx-test"; name = "php-fpm-nginx-test";
meta.maintainers = with pkgs.stdenv.lib.maintainers; [ etu ]; meta.maintainers = lib.teams.php.members;
machine = { config, lib, pkgs, ... }: { machine = { config, lib, pkgs, ... }: {
services.nginx = { services.nginx = {

View File

@ -1,6 +1,6 @@
import ../make-test-python.nix ({pkgs, ...}: { import ../make-test-python.nix ({pkgs, lib, ...}: {
name = "php-httpd-test"; name = "php-httpd-test";
meta.maintainers = with pkgs.stdenv.lib.maintainers; [ etu ]; meta.maintainers = lib.teams.php.members;
machine = { config, lib, pkgs, ... }: { machine = { config, lib, pkgs, ... }: {
services.httpd = { services.httpd = {

View File

@ -1,7 +1,9 @@
let let
testString = "can-use-subgroups"; testString = "can-use-subgroups";
in import ../make-test-python.nix ({ ...}: { in import ../make-test-python.nix ({lib, ...}: {
name = "php-httpd-pcre-jit-test"; name = "php-httpd-pcre-jit-test";
meta.maintainers = lib.teams.php.members;
machine = { lib, pkgs, ... }: { machine = { lib, pkgs, ... }: {
time.timeZone = "UTC"; time.timeZone = "UTC";
services.httpd = { services.httpd = {

View File

@ -138,9 +138,9 @@ let
meta = with stdenv.lib; { meta = with stdenv.lib; {
description = "An HTML-embedded scripting language"; description = "An HTML-embedded scripting language";
homepage = "https://www.php.net/"; homepage = "https://www.php.net";
license = licenses.php301; license = licenses.php301;
maintainers = with maintainers; [ globin etu ma27 ]; maintainers = teams.php.members;
platforms = platforms.all; platforms = platforms.all;
outputsToInstall = [ "out" "dev" ]; outputsToInstall = [ "out" "dev" ];
}; };
@ -194,6 +194,7 @@ let
passthru = { passthru = {
inherit buildEnv withExtensions enabledExtensions; inherit buildEnv withExtensions enabledExtensions;
inherit (php-packages) packages extensions; inherit (php-packages) packages extensions;
inherit (php) meta;
}; };
paths = [ php ]; paths = [ php ];
postBuild = '' postBuild = ''

View File

@ -51,7 +51,7 @@ in
description = "An application for building and managing Phars"; description = "An application for building and managing Phars";
license = licenses.mit; license = licenses.mit;
homepage = "https://box-project.github.io/box2/"; homepage = "https://box-project.github.io/box2/";
maintainers = with maintainers; [ jtojnar ]; maintainers = with maintainers; [ jtojnar ] ++ teams.php.members;
}; };
}; };
@ -80,7 +80,7 @@ in
description = "Dependency Manager for PHP"; description = "Dependency Manager for PHP";
license = licenses.mit; license = licenses.mit;
homepage = "https://getcomposer.org/"; homepage = "https://getcomposer.org/";
maintainers = with maintainers; [ globin offline ]; maintainers = with maintainers; [ offline ] ++ teams.php.members;
}; };
}; };
@ -107,7 +107,7 @@ in
description = "A tool to automatically fix PHP coding standards issues"; description = "A tool to automatically fix PHP coding standards issues";
license = licenses.mit; license = licenses.mit;
homepage = "http://cs.sensiolabs.org/"; homepage = "http://cs.sensiolabs.org/";
maintainers = with maintainers; [ jtojnar ]; maintainers = with maintainers; [ jtojnar ] ++ teams.php.members;
}; };
}; };
@ -144,7 +144,7 @@ in
description = "This tool check syntax of PHP files faster than serial check with fancier output"; description = "This tool check syntax of PHP files faster than serial check with fancier output";
license = licenses.bsd2; license = licenses.bsd2;
homepage = "https://github.com/JakubOnderka/PHP-Parallel-Lint"; homepage = "https://github.com/JakubOnderka/PHP-Parallel-Lint";
maintainers = with maintainers; [ jtojnar ]; maintainers = with maintainers; [ jtojnar ] ++ teams.php.members;
}; };
}; };
@ -171,7 +171,7 @@ in
description = "PHP coding standard beautifier and fixer"; description = "PHP coding standard beautifier and fixer";
license = licenses.bsd3; license = licenses.bsd3;
homepage = "https://squizlabs.github.io/PHP_CodeSniffer/"; homepage = "https://squizlabs.github.io/PHP_CodeSniffer/";
maintainers = with maintainers; [ cmcdragonkai etu ]; maintainers = with maintainers; [ cmcdragonkai ] ++ teams.php.members;
}; };
}; };
@ -198,7 +198,7 @@ in
description = "PHP coding standard tool"; description = "PHP coding standard tool";
license = licenses.bsd3; license = licenses.bsd3;
homepage = "https://squizlabs.github.io/PHP_CodeSniffer/"; homepage = "https://squizlabs.github.io/PHP_CodeSniffer/";
maintainers = with maintainers; [ javaguirre etu ]; maintainers = with maintainers; [ javaguirre ] ++ teams.php.members;
}; };
}; };
@ -224,15 +224,15 @@ in
meta = with pkgs.lib; { meta = with pkgs.lib; {
description = "PHP Static Analysis Tool"; description = "PHP Static Analysis Tool";
longDescription = '' longDescription = ''
PHPStan focuses on finding errors in your code without actually running PHPStan focuses on finding errors in your code without actually
it. It catches whole classes of bugs even before you write tests for the running it. It catches whole classes of bugs even before you write
code. It moves PHP closer to compiled languages in the sense that the tests for the code. It moves PHP closer to compiled languages in the
correctness of each line of the code can be checked before you run the sense that the correctness of each line of the code can be checked
actual line. before you run the actual line.
''; '';
license = licenses.mit; license = licenses.mit;
homepage = "https://github.com/phpstan/phpstan"; homepage = "https://github.com/phpstan/phpstan";
maintainers = with maintainers; [ etu ]; maintainers = teams.php.members;
}; };
}; };
@ -259,6 +259,7 @@ in
description = "A static analysis tool for finding errors in PHP applications"; description = "A static analysis tool for finding errors in PHP applications";
license = licenses.mit; license = licenses.mit;
homepage = "https://github.com/vimeo/psalm"; homepage = "https://github.com/vimeo/psalm";
maintainers = teams.php.members;
}; };
}; };
@ -285,7 +286,7 @@ in
description = "PsySH is a runtime developer console, interactive debugger and REPL for PHP."; description = "PsySH is a runtime developer console, interactive debugger and REPL for PHP.";
license = licenses.mit; license = licenses.mit;
homepage = "https://psysh.org/"; homepage = "https://psysh.org/";
maintainers = with maintainers; [ caugner ]; maintainers = with maintainers; [ caugner ] ++ teams.php.members;
}; };
}; };
}; };
@ -308,6 +309,8 @@ in
checkFlagsArray = ["REPORT_EXIT_STATUS=1" "NO_INTERACTION=1"]; checkFlagsArray = ["REPORT_EXIT_STATUS=1" "NO_INTERACTION=1"];
makeFlags = [ "phpincludedir=$(dev)/include" ]; makeFlags = [ "phpincludedir=$(dev)/include" ];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
meta.maintainers = lib.teams.php.members;
}; };
apcu_bc = buildPecl { apcu_bc = buildPecl {
@ -320,6 +323,8 @@ in
php.extensions.apcu php.extensions.apcu
pcre' pcre'
]; ];
meta.maintainers = lib.teams.php.members;
}; };
ast = buildPecl { ast = buildPecl {
@ -327,6 +332,8 @@ in
pname = "ast"; pname = "ast";
sha256 = "16c5isldm4csjbcvz1qk2mmrhgvh24sxsp6w6f5a37xpa3vciawp"; sha256 = "16c5isldm4csjbcvz1qk2mmrhgvh24sxsp6w6f5a37xpa3vciawp";
meta.maintainers = lib.teams.php.members;
}; };
couchbase = buildPecl rec { couchbase = buildPecl rec {
@ -374,6 +381,7 @@ in
'') '')
]; ];
meta.maintainers = lib.teams.php.members;
meta.broken = isPhp74; # Build error meta.broken = isPhp74; # Build error
}; };
@ -406,6 +414,7 @@ in
''; '';
license = licenses.php301; license = licenses.php301;
homepage = "https://bitbucket.org/osmanov/pecl-event/"; homepage = "https://bitbucket.org/osmanov/pecl-event/";
maintainers = teams.php.members;
}; };
}; };
@ -418,6 +427,8 @@ in
configureFlags = [ "--enable-igbinary" ]; configureFlags = [ "--enable-igbinary" ];
makeFlags = [ "phpincludedir=$(dev)/include" ]; makeFlags = [ "phpincludedir=$(dev)/include" ];
outputs = [ "out" "dev" ]; outputs = [ "out" "dev" ];
meta.maintainers = lib.teams.php.members;
}; };
imagick = buildPecl { imagick = buildPecl {
@ -429,6 +440,8 @@ in
configureFlags = [ "--with-imagick=${pkgs.imagemagick.dev}" ]; configureFlags = [ "--with-imagick=${pkgs.imagemagick.dev}" ];
nativeBuildInputs = [ pkgs.pkgconfig ]; nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = [ pcre' ]; buildInputs = [ pcre' ];
meta.maintainers = lib.teams.php.members;
}; };
mailparse = buildPecl { mailparse = buildPecl {
@ -440,6 +453,8 @@ in
postConfigure = '' postConfigure = ''
echo "#define HAVE_MBSTRING 1" >> config.h echo "#define HAVE_MBSTRING 1" >> config.h
''; '';
meta.maintainers = lib.teams.php.members;
}; };
maxminddb = buildPecl rec { maxminddb = buildPecl rec {
@ -459,7 +474,7 @@ in
meta = with pkgs.lib; { meta = with pkgs.lib; {
description = "C extension that is a drop-in replacement for MaxMind\\Db\\Reader"; description = "C extension that is a drop-in replacement for MaxMind\\Db\\Reader";
license = with licenses; [ asl20 ]; license = with licenses; [ asl20 ];
maintainers = with maintainers; [ ajs124 das_j ]; maintainers = with maintainers; [ ajs124 das_j ] ++ teams.php.members;
}; };
}; };
@ -486,6 +501,8 @@ in
nativeBuildInputs = [ pkgs.pkgconfig ]; nativeBuildInputs = [ pkgs.pkgconfig ];
buildInputs = with pkgs; [ cyrus_sasl zlib ]; buildInputs = with pkgs; [ cyrus_sasl zlib ];
meta.maintainers = lib.teams.php.members;
}; };
mongodb = buildPecl { mongodb = buildPecl {
@ -503,6 +520,8 @@ in
zlib zlib
pcre' pcre'
] ++ lib.optional (pkgs.stdenv.isDarwin) pkgs.darwin.apple_sdk.frameworks.Security; ] ++ lib.optional (pkgs.stdenv.isDarwin) pkgs.darwin.apple_sdk.frameworks.Security;
meta.maintainers = lib.teams.php.members;
}; };
oci8 = buildPecl { oci8 = buildPecl {
@ -516,6 +535,8 @@ in
postPatch = '' postPatch = ''
sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${pkgs.oracle-instantclient.dev}/include"|' config.m4 sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${pkgs.oracle-instantclient.dev}/include"|' config.m4
''; '';
meta.maintainers = lib.teams.php.members;
}; };
pcov = buildPecl { pcov = buildPecl {
@ -525,6 +546,8 @@ in
sha256 = "1psfwscrc025z8mziq69pcx60k4fbkqa5g2ia8lplb94mmarj0v1"; sha256 = "1psfwscrc025z8mziq69pcx60k4fbkqa5g2ia8lplb94mmarj0v1";
buildInputs = [ pcre' ]; buildInputs = [ pcre' ];
meta.maintainers = lib.teams.php.members;
}; };
pcs = buildPecl { pcs = buildPecl {
@ -533,6 +556,7 @@ in
sha256 = "0d4p1gpl8gkzdiv860qzxfz250ryf0wmjgyc8qcaaqgkdyh5jy5p"; sha256 = "0d4p1gpl8gkzdiv860qzxfz250ryf0wmjgyc8qcaaqgkdyh5jy5p";
meta.maintainers = lib.teams.php.members;
meta.broken = isPhp74; # Build error meta.broken = isPhp74; # Build error
}; };
@ -548,8 +572,10 @@ in
internalDeps = [ php.extensions.pdo ]; internalDeps = [ php.extensions.pdo ];
postPatch = '' postPatch = ''
sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${pkgs.oracle-instantclient.dev}/include"|' config.m4 sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${pkgs.oracle-instantclient.dev}/include"|' config.m4
''; '';
meta.maintainers = lib.teams.php.members;
}; };
pdo_sqlsrv = buildPecl { pdo_sqlsrv = buildPecl {
@ -561,6 +587,8 @@ in
internalDeps = [ php.extensions.pdo ]; internalDeps = [ php.extensions.pdo ];
buildInputs = [ pkgs.unixODBC ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ pkgs.libiconv ]; buildInputs = [ pkgs.unixODBC ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ pkgs.libiconv ];
meta.maintainers = lib.teams.php.members;
}; };
php_excel = buildPecl rec { php_excel = buildPecl rec {
@ -576,6 +604,8 @@ in
}; };
configureFlags = [ "--with-excel" "--with-libxl-incdir=${pkgs.libxl}/include_c" "--with-libxl-libdir=${pkgs.libxl}/lib" ]; configureFlags = [ "--with-excel" "--with-libxl-incdir=${pkgs.libxl}/include_c" "--with-libxl-libdir=${pkgs.libxl}/lib" ];
meta.maintainers = lib.teams.php.members;
}; };
pinba = let pinba = let
@ -601,6 +631,7 @@ in
statistics server for PHP using MySQL as a read-only interface. statistics server for PHP using MySQL as a read-only interface.
''; '';
homepage = "http://pinba.org/"; homepage = "http://pinba.org/";
maintainers = teams.php.members;
}; };
}; };
@ -618,6 +649,7 @@ in
''; '';
license = licenses.bsd3; license = licenses.bsd3;
homepage = "https://developers.google.com/protocol-buffers/"; homepage = "https://developers.google.com/protocol-buffers/";
maintainers = teams.php.members;
}; };
}; };
@ -653,6 +685,8 @@ in
session session
] ++ lib.optionals (lib.versionOlder php.version "7.4") [ ] ++ lib.optionals (lib.versionOlder php.version "7.4") [
hash ]; hash ];
meta.maintainers = lib.teams.php.members;
}; };
sqlsrv = buildPecl { sqlsrv = buildPecl {
@ -662,6 +696,8 @@ in
sha256 = "1kv4krk1w4hri99b0sdgwgy9c4y0yh217wx2y3irhkfi46kdrjnw"; sha256 = "1kv4krk1w4hri99b0sdgwgy9c4y0yh217wx2y3irhkfi46kdrjnw";
buildInputs = [ pkgs.unixODBC ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ pkgs.libiconv ]; buildInputs = [ pkgs.unixODBC ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ pkgs.libiconv ];
meta.maintainers = lib.teams.php.members;
}; };
v8 = buildPecl { v8 = buildPecl {
@ -672,6 +708,8 @@ in
buildInputs = [ pkgs.v8_6_x ]; buildInputs = [ pkgs.v8_6_x ];
configureFlags = [ "--with-v8=${pkgs.v8_6_x}" ]; configureFlags = [ "--with-v8=${pkgs.v8_6_x}" ];
meta.maintainers = lib.teams.php.members;
meta.broken = true; meta.broken = true;
}; };
@ -683,6 +721,8 @@ in
buildInputs = [ pkgs.v8_6_x ]; buildInputs = [ pkgs.v8_6_x ];
configureFlags = [ "--with-v8js=${pkgs.v8_6_x}" ]; configureFlags = [ "--with-v8js=${pkgs.v8_6_x}" ];
meta.maintainers = lib.teams.php.members;
meta.broken = true; meta.broken = true;
}; };
@ -696,6 +736,8 @@ in
checkTarget = "test"; checkTarget = "test";
zendExtension = true; zendExtension = true;
meta.maintainers = lib.teams.php.members;
}; };
yaml = buildPecl { yaml = buildPecl {
@ -709,6 +751,8 @@ in
]; ];
nativeBuildInputs = [ pkgs.pkgconfig ]; nativeBuildInputs = [ pkgs.pkgconfig ];
meta.maintainers = lib.teams.php.members;
}; };
zmq = buildPecl { zmq = buildPecl {
@ -723,6 +767,7 @@ in
nativeBuildInputs = [ pkgs.pkgconfig ]; nativeBuildInputs = [ pkgs.pkgconfig ];
meta.maintainers = lib.teams.php.members;
meta.broken = isPhp73; meta.broken = isPhp73;
}; };
} // (let } // (let
@ -782,6 +827,8 @@ in
--prune-empty-dirs \ --prune-empty-dirs \
. $dev/include/ . $dev/include/
''; '';
meta.maintainers = lib.teams.php.members;
}); });
# This list contains build instructions for different modules that one may # This list contains build instructions for different modules that one may