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

PHP maintainer team

authored by

Elis Hirwing and committed by
GitHub
3b21abb3 3b00e78e

+87 -25
+2 -1
.github/CODEOWNERS
··· 176 177 # PHP 178 /doc/languages-frameworks/php.section.md @etu 179 /pkgs/development/interpreters/php @etu 180 /pkgs/top-level/php-packages.nix @etu 181 - /pkgs/build-support/build-pecl.nix @etu
··· 176 177 # PHP 178 /doc/languages-frameworks/php.section.md @etu 179 + /nixos/tests/php @etu 180 + /pkgs/build-support/build-pecl.nix @etu 181 /pkgs/development/interpreters/php @etu 182 /pkgs/top-level/php-packages.nix @etu
+11
maintainers/team-list.nix
··· 43 scope = "Maintain GNOME desktop environment and platform."; 44 }; 45 46 podman = { 47 members = [ 48 adisbladis
··· 43 scope = "Maintain GNOME desktop environment and platform."; 44 }; 45 46 + php = { 47 + members = [ 48 + aanderse 49 + etu 50 + globin 51 + ma27 52 + talyz 53 + ]; 54 + scope = "Maintain PHP related packages and extensions."; 55 + }; 56 + 57 podman = { 58 members = [ 59 adisbladis
+2 -2
nixos/tests/php/fpm.nix
··· 1 - import ../make-test-python.nix ({pkgs, ...}: { 2 name = "php-fpm-nginx-test"; 3 - meta.maintainers = with pkgs.stdenv.lib.maintainers; [ etu ]; 4 5 machine = { config, lib, pkgs, ... }: { 6 services.nginx = {
··· 1 + import ../make-test-python.nix ({pkgs, lib, ...}: { 2 name = "php-fpm-nginx-test"; 3 + meta.maintainers = lib.teams.php.members; 4 5 machine = { config, lib, pkgs, ... }: { 6 services.nginx = {
+2 -2
nixos/tests/php/httpd.nix
··· 1 - import ../make-test-python.nix ({pkgs, ...}: { 2 name = "php-httpd-test"; 3 - meta.maintainers = with pkgs.stdenv.lib.maintainers; [ etu ]; 4 5 machine = { config, lib, pkgs, ... }: { 6 services.httpd = {
··· 1 + import ../make-test-python.nix ({pkgs, lib, ...}: { 2 name = "php-httpd-test"; 3 + meta.maintainers = lib.teams.php.members; 4 5 machine = { config, lib, pkgs, ... }: { 6 services.httpd = {
+3 -1
nixos/tests/php/pcre.nix
··· 1 let 2 testString = "can-use-subgroups"; 3 - in import ../make-test-python.nix ({ ...}: { 4 name = "php-httpd-pcre-jit-test"; 5 machine = { lib, pkgs, ... }: { 6 time.timeZone = "UTC"; 7 services.httpd = {
··· 1 let 2 testString = "can-use-subgroups"; 3 + in import ../make-test-python.nix ({lib, ...}: { 4 name = "php-httpd-pcre-jit-test"; 5 + meta.maintainers = lib.teams.php.members; 6 + 7 machine = { lib, pkgs, ... }: { 8 time.timeZone = "UTC"; 9 services.httpd = {
+3 -2
pkgs/development/interpreters/php/default.nix
··· 138 139 meta = with stdenv.lib; { 140 description = "An HTML-embedded scripting language"; 141 - homepage = "https://www.php.net/"; 142 license = licenses.php301; 143 - maintainers = with maintainers; [ globin etu ma27 ]; 144 platforms = platforms.all; 145 outputsToInstall = [ "out" "dev" ]; 146 }; ··· 194 passthru = { 195 inherit buildEnv withExtensions enabledExtensions; 196 inherit (php-packages) packages extensions; 197 }; 198 paths = [ php ]; 199 postBuild = ''
··· 138 139 meta = with stdenv.lib; { 140 description = "An HTML-embedded scripting language"; 141 + homepage = "https://www.php.net"; 142 license = licenses.php301; 143 + maintainers = teams.php.members; 144 platforms = platforms.all; 145 outputsToInstall = [ "out" "dev" ]; 146 }; ··· 194 passthru = { 195 inherit buildEnv withExtensions enabledExtensions; 196 inherit (php-packages) packages extensions; 197 + inherit (php) meta; 198 }; 199 paths = [ php ]; 200 postBuild = ''
+64 -17
pkgs/top-level/php-packages.nix
··· 51 description = "An application for building and managing Phars"; 52 license = licenses.mit; 53 homepage = "https://box-project.github.io/box2/"; 54 - maintainers = with maintainers; [ jtojnar ]; 55 }; 56 }; 57 ··· 80 description = "Dependency Manager for PHP"; 81 license = licenses.mit; 82 homepage = "https://getcomposer.org/"; 83 - maintainers = with maintainers; [ globin offline ]; 84 }; 85 }; 86 ··· 107 description = "A tool to automatically fix PHP coding standards issues"; 108 license = licenses.mit; 109 homepage = "http://cs.sensiolabs.org/"; 110 - maintainers = with maintainers; [ jtojnar ]; 111 }; 112 }; 113 ··· 144 description = "This tool check syntax of PHP files faster than serial check with fancier output"; 145 license = licenses.bsd2; 146 homepage = "https://github.com/JakubOnderka/PHP-Parallel-Lint"; 147 - maintainers = with maintainers; [ jtojnar ]; 148 }; 149 }; 150 ··· 171 description = "PHP coding standard beautifier and fixer"; 172 license = licenses.bsd3; 173 homepage = "https://squizlabs.github.io/PHP_CodeSniffer/"; 174 - maintainers = with maintainers; [ cmcdragonkai etu ]; 175 }; 176 }; 177 ··· 198 description = "PHP coding standard tool"; 199 license = licenses.bsd3; 200 homepage = "https://squizlabs.github.io/PHP_CodeSniffer/"; 201 - maintainers = with maintainers; [ javaguirre etu ]; 202 }; 203 }; 204 ··· 224 meta = with pkgs.lib; { 225 description = "PHP Static Analysis Tool"; 226 longDescription = '' 227 - PHPStan focuses on finding errors in your code without actually running 228 - it. It catches whole classes of bugs even before you write tests for the 229 - code. It moves PHP closer to compiled languages in the sense that the 230 - correctness of each line of the code can be checked before you run the 231 - actual line. 232 - ''; 233 license = licenses.mit; 234 homepage = "https://github.com/phpstan/phpstan"; 235 - maintainers = with maintainers; [ etu ]; 236 }; 237 }; 238 ··· 259 description = "A static analysis tool for finding errors in PHP applications"; 260 license = licenses.mit; 261 homepage = "https://github.com/vimeo/psalm"; 262 }; 263 }; 264 ··· 285 description = "PsySH is a runtime developer console, interactive debugger and REPL for PHP."; 286 license = licenses.mit; 287 homepage = "https://psysh.org/"; 288 - maintainers = with maintainers; [ caugner ]; 289 }; 290 }; 291 }; ··· 308 checkFlagsArray = ["REPORT_EXIT_STATUS=1" "NO_INTERACTION=1"]; 309 makeFlags = [ "phpincludedir=$(dev)/include" ]; 310 outputs = [ "out" "dev" ]; 311 }; 312 313 apcu_bc = buildPecl { ··· 320 php.extensions.apcu 321 pcre' 322 ]; 323 }; 324 325 ast = buildPecl { ··· 327 pname = "ast"; 328 329 sha256 = "16c5isldm4csjbcvz1qk2mmrhgvh24sxsp6w6f5a37xpa3vciawp"; 330 }; 331 332 couchbase = buildPecl rec { ··· 374 '') 375 ]; 376 377 meta.broken = isPhp74; # Build error 378 }; 379 ··· 406 ''; 407 license = licenses.php301; 408 homepage = "https://bitbucket.org/osmanov/pecl-event/"; 409 }; 410 }; 411 ··· 418 configureFlags = [ "--enable-igbinary" ]; 419 makeFlags = [ "phpincludedir=$(dev)/include" ]; 420 outputs = [ "out" "dev" ]; 421 }; 422 423 imagick = buildPecl { ··· 429 configureFlags = [ "--with-imagick=${pkgs.imagemagick.dev}" ]; 430 nativeBuildInputs = [ pkgs.pkgconfig ]; 431 buildInputs = [ pcre' ]; 432 }; 433 434 mailparse = buildPecl { ··· 440 postConfigure = '' 441 echo "#define HAVE_MBSTRING 1" >> config.h 442 ''; 443 }; 444 445 maxminddb = buildPecl rec { ··· 459 meta = with pkgs.lib; { 460 description = "C extension that is a drop-in replacement for MaxMind\\Db\\Reader"; 461 license = with licenses; [ asl20 ]; 462 - maintainers = with maintainers; [ ajs124 das_j ]; 463 }; 464 }; 465 ··· 486 487 nativeBuildInputs = [ pkgs.pkgconfig ]; 488 buildInputs = with pkgs; [ cyrus_sasl zlib ]; 489 }; 490 491 mongodb = buildPecl { ··· 503 zlib 504 pcre' 505 ] ++ lib.optional (pkgs.stdenv.isDarwin) pkgs.darwin.apple_sdk.frameworks.Security; 506 }; 507 508 oci8 = buildPecl { ··· 516 postPatch = '' 517 sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${pkgs.oracle-instantclient.dev}/include"|' config.m4 518 ''; 519 }; 520 521 pcov = buildPecl { ··· 525 sha256 = "1psfwscrc025z8mziq69pcx60k4fbkqa5g2ia8lplb94mmarj0v1"; 526 527 buildInputs = [ pcre' ]; 528 }; 529 530 pcs = buildPecl { ··· 533 534 sha256 = "0d4p1gpl8gkzdiv860qzxfz250ryf0wmjgyc8qcaaqgkdyh5jy5p"; 535 536 meta.broken = isPhp74; # Build error 537 }; 538 ··· 548 internalDeps = [ php.extensions.pdo ]; 549 550 postPatch = '' 551 - sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${pkgs.oracle-instantclient.dev}/include"|' config.m4 552 - ''; 553 }; 554 555 pdo_sqlsrv = buildPecl { ··· 561 internalDeps = [ php.extensions.pdo ]; 562 563 buildInputs = [ pkgs.unixODBC ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ pkgs.libiconv ]; 564 }; 565 566 php_excel = buildPecl rec { ··· 576 }; 577 578 configureFlags = [ "--with-excel" "--with-libxl-incdir=${pkgs.libxl}/include_c" "--with-libxl-libdir=${pkgs.libxl}/lib" ]; 579 }; 580 581 pinba = let ··· 601 statistics server for PHP using MySQL as a read-only interface. 602 ''; 603 homepage = "http://pinba.org/"; 604 }; 605 }; 606 ··· 618 ''; 619 license = licenses.bsd3; 620 homepage = "https://developers.google.com/protocol-buffers/"; 621 }; 622 }; 623 ··· 653 session 654 ] ++ lib.optionals (lib.versionOlder php.version "7.4") [ 655 hash ]; 656 }; 657 658 sqlsrv = buildPecl { ··· 662 sha256 = "1kv4krk1w4hri99b0sdgwgy9c4y0yh217wx2y3irhkfi46kdrjnw"; 663 664 buildInputs = [ pkgs.unixODBC ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ pkgs.libiconv ]; 665 }; 666 667 v8 = buildPecl { ··· 672 673 buildInputs = [ pkgs.v8_6_x ]; 674 configureFlags = [ "--with-v8=${pkgs.v8_6_x}" ]; 675 meta.broken = true; 676 }; 677 ··· 683 684 buildInputs = [ pkgs.v8_6_x ]; 685 configureFlags = [ "--with-v8js=${pkgs.v8_6_x}" ]; 686 meta.broken = true; 687 }; 688 ··· 696 checkTarget = "test"; 697 698 zendExtension = true; 699 }; 700 701 yaml = buildPecl { ··· 709 ]; 710 711 nativeBuildInputs = [ pkgs.pkgconfig ]; 712 }; 713 714 zmq = buildPecl { ··· 723 724 nativeBuildInputs = [ pkgs.pkgconfig ]; 725 726 meta.broken = isPhp73; 727 }; 728 } // (let ··· 782 --prune-empty-dirs \ 783 . $dev/include/ 784 ''; 785 }); 786 787 # This list contains build instructions for different modules that one may
··· 51 description = "An application for building and managing Phars"; 52 license = licenses.mit; 53 homepage = "https://box-project.github.io/box2/"; 54 + maintainers = with maintainers; [ jtojnar ] ++ teams.php.members; 55 }; 56 }; 57 ··· 80 description = "Dependency Manager for PHP"; 81 license = licenses.mit; 82 homepage = "https://getcomposer.org/"; 83 + maintainers = with maintainers; [ offline ] ++ teams.php.members; 84 }; 85 }; 86 ··· 107 description = "A tool to automatically fix PHP coding standards issues"; 108 license = licenses.mit; 109 homepage = "http://cs.sensiolabs.org/"; 110 + maintainers = with maintainers; [ jtojnar ] ++ teams.php.members; 111 }; 112 }; 113 ··· 144 description = "This tool check syntax of PHP files faster than serial check with fancier output"; 145 license = licenses.bsd2; 146 homepage = "https://github.com/JakubOnderka/PHP-Parallel-Lint"; 147 + maintainers = with maintainers; [ jtojnar ] ++ teams.php.members; 148 }; 149 }; 150 ··· 171 description = "PHP coding standard beautifier and fixer"; 172 license = licenses.bsd3; 173 homepage = "https://squizlabs.github.io/PHP_CodeSniffer/"; 174 + maintainers = with maintainers; [ cmcdragonkai ] ++ teams.php.members; 175 }; 176 }; 177 ··· 198 description = "PHP coding standard tool"; 199 license = licenses.bsd3; 200 homepage = "https://squizlabs.github.io/PHP_CodeSniffer/"; 201 + maintainers = with maintainers; [ javaguirre ] ++ teams.php.members; 202 }; 203 }; 204 ··· 224 meta = with pkgs.lib; { 225 description = "PHP Static Analysis Tool"; 226 longDescription = '' 227 + PHPStan focuses on finding errors in your code without actually 228 + running it. It catches whole classes of bugs even before you write 229 + tests for the code. It moves PHP closer to compiled languages in the 230 + sense that the correctness of each line of the code can be checked 231 + before you run the actual line. 232 + ''; 233 license = licenses.mit; 234 homepage = "https://github.com/phpstan/phpstan"; 235 + maintainers = teams.php.members; 236 }; 237 }; 238 ··· 259 description = "A static analysis tool for finding errors in PHP applications"; 260 license = licenses.mit; 261 homepage = "https://github.com/vimeo/psalm"; 262 + maintainers = teams.php.members; 263 }; 264 }; 265 ··· 286 description = "PsySH is a runtime developer console, interactive debugger and REPL for PHP."; 287 license = licenses.mit; 288 homepage = "https://psysh.org/"; 289 + maintainers = with maintainers; [ caugner ] ++ teams.php.members; 290 }; 291 }; 292 }; ··· 309 checkFlagsArray = ["REPORT_EXIT_STATUS=1" "NO_INTERACTION=1"]; 310 makeFlags = [ "phpincludedir=$(dev)/include" ]; 311 outputs = [ "out" "dev" ]; 312 + 313 + meta.maintainers = lib.teams.php.members; 314 }; 315 316 apcu_bc = buildPecl { ··· 323 php.extensions.apcu 324 pcre' 325 ]; 326 + 327 + meta.maintainers = lib.teams.php.members; 328 }; 329 330 ast = buildPecl { ··· 332 pname = "ast"; 333 334 sha256 = "16c5isldm4csjbcvz1qk2mmrhgvh24sxsp6w6f5a37xpa3vciawp"; 335 + 336 + meta.maintainers = lib.teams.php.members; 337 }; 338 339 couchbase = buildPecl rec { ··· 381 '') 382 ]; 383 384 + meta.maintainers = lib.teams.php.members; 385 meta.broken = isPhp74; # Build error 386 }; 387 ··· 414 ''; 415 license = licenses.php301; 416 homepage = "https://bitbucket.org/osmanov/pecl-event/"; 417 + maintainers = teams.php.members; 418 }; 419 }; 420 ··· 427 configureFlags = [ "--enable-igbinary" ]; 428 makeFlags = [ "phpincludedir=$(dev)/include" ]; 429 outputs = [ "out" "dev" ]; 430 + 431 + meta.maintainers = lib.teams.php.members; 432 }; 433 434 imagick = buildPecl { ··· 440 configureFlags = [ "--with-imagick=${pkgs.imagemagick.dev}" ]; 441 nativeBuildInputs = [ pkgs.pkgconfig ]; 442 buildInputs = [ pcre' ]; 443 + 444 + meta.maintainers = lib.teams.php.members; 445 }; 446 447 mailparse = buildPecl { ··· 453 postConfigure = '' 454 echo "#define HAVE_MBSTRING 1" >> config.h 455 ''; 456 + 457 + meta.maintainers = lib.teams.php.members; 458 }; 459 460 maxminddb = buildPecl rec { ··· 474 meta = with pkgs.lib; { 475 description = "C extension that is a drop-in replacement for MaxMind\\Db\\Reader"; 476 license = with licenses; [ asl20 ]; 477 + maintainers = with maintainers; [ ajs124 das_j ] ++ teams.php.members; 478 }; 479 }; 480 ··· 501 502 nativeBuildInputs = [ pkgs.pkgconfig ]; 503 buildInputs = with pkgs; [ cyrus_sasl zlib ]; 504 + 505 + meta.maintainers = lib.teams.php.members; 506 }; 507 508 mongodb = buildPecl { ··· 520 zlib 521 pcre' 522 ] ++ lib.optional (pkgs.stdenv.isDarwin) pkgs.darwin.apple_sdk.frameworks.Security; 523 + 524 + meta.maintainers = lib.teams.php.members; 525 }; 526 527 oci8 = buildPecl { ··· 535 postPatch = '' 536 sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${pkgs.oracle-instantclient.dev}/include"|' config.m4 537 ''; 538 + 539 + meta.maintainers = lib.teams.php.members; 540 }; 541 542 pcov = buildPecl { ··· 546 sha256 = "1psfwscrc025z8mziq69pcx60k4fbkqa5g2ia8lplb94mmarj0v1"; 547 548 buildInputs = [ pcre' ]; 549 + 550 + meta.maintainers = lib.teams.php.members; 551 }; 552 553 pcs = buildPecl { ··· 556 557 sha256 = "0d4p1gpl8gkzdiv860qzxfz250ryf0wmjgyc8qcaaqgkdyh5jy5p"; 558 559 + meta.maintainers = lib.teams.php.members; 560 meta.broken = isPhp74; # Build error 561 }; 562 ··· 572 internalDeps = [ php.extensions.pdo ]; 573 574 postPatch = '' 575 + sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${pkgs.oracle-instantclient.dev}/include"|' config.m4 576 + ''; 577 + 578 + meta.maintainers = lib.teams.php.members; 579 }; 580 581 pdo_sqlsrv = buildPecl { ··· 587 internalDeps = [ php.extensions.pdo ]; 588 589 buildInputs = [ pkgs.unixODBC ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ pkgs.libiconv ]; 590 + 591 + meta.maintainers = lib.teams.php.members; 592 }; 593 594 php_excel = buildPecl rec { ··· 604 }; 605 606 configureFlags = [ "--with-excel" "--with-libxl-incdir=${pkgs.libxl}/include_c" "--with-libxl-libdir=${pkgs.libxl}/lib" ]; 607 + 608 + meta.maintainers = lib.teams.php.members; 609 }; 610 611 pinba = let ··· 631 statistics server for PHP using MySQL as a read-only interface. 632 ''; 633 homepage = "http://pinba.org/"; 634 + maintainers = teams.php.members; 635 }; 636 }; 637 ··· 649 ''; 650 license = licenses.bsd3; 651 homepage = "https://developers.google.com/protocol-buffers/"; 652 + maintainers = teams.php.members; 653 }; 654 }; 655 ··· 685 session 686 ] ++ lib.optionals (lib.versionOlder php.version "7.4") [ 687 hash ]; 688 + 689 + meta.maintainers = lib.teams.php.members; 690 }; 691 692 sqlsrv = buildPecl { ··· 696 sha256 = "1kv4krk1w4hri99b0sdgwgy9c4y0yh217wx2y3irhkfi46kdrjnw"; 697 698 buildInputs = [ pkgs.unixODBC ] ++ pkgs.lib.optionals pkgs.stdenv.isDarwin [ pkgs.libiconv ]; 699 + 700 + meta.maintainers = lib.teams.php.members; 701 }; 702 703 v8 = buildPecl { ··· 708 709 buildInputs = [ pkgs.v8_6_x ]; 710 configureFlags = [ "--with-v8=${pkgs.v8_6_x}" ]; 711 + 712 + meta.maintainers = lib.teams.php.members; 713 meta.broken = true; 714 }; 715 ··· 721 722 buildInputs = [ pkgs.v8_6_x ]; 723 configureFlags = [ "--with-v8js=${pkgs.v8_6_x}" ]; 724 + 725 + meta.maintainers = lib.teams.php.members; 726 meta.broken = true; 727 }; 728 ··· 736 checkTarget = "test"; 737 738 zendExtension = true; 739 + 740 + meta.maintainers = lib.teams.php.members; 741 }; 742 743 yaml = buildPecl { ··· 751 ]; 752 753 nativeBuildInputs = [ pkgs.pkgconfig ]; 754 + 755 + meta.maintainers = lib.teams.php.members; 756 }; 757 758 zmq = buildPecl { ··· 767 768 nativeBuildInputs = [ pkgs.pkgconfig ]; 769 770 + meta.maintainers = lib.teams.php.members; 771 meta.broken = isPhp73; 772 }; 773 } // (let ··· 827 --prune-empty-dirs \ 828 . $dev/include/ 829 ''; 830 + 831 + meta.maintainers = lib.teams.php.members; 832 }); 833 834 # This list contains build instructions for different modules that one may