Merge pull request #126191 from etu/php-extensions-meta

php: Improve extensions meta and codeowner data
This commit is contained in:
Elis Hirwing 2021-06-09 13:30:37 +02:00 committed by GitHub
commit 9701ce85a3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
24 changed files with 122 additions and 30 deletions

12
.github/CODEOWNERS vendored
View File

@ -196,12 +196,12 @@
/nixos/tests/prometheus-exporters.nix @WilliButz
# PHP interpreter, packages, extensions, tests and documentation
/doc/languages-frameworks/php.section.md @NixOS/php
/nixos/tests/php @NixOS/php
/pkgs/build-support/build-pecl.nix @NixOS/php
/pkgs/development/interpreters/php @NixOS/php @jtojnar
/pkgs/development/php-packages @NixOS/php
/pkgs/top-level/php-packages.nix @NixOS/php @jtojnar
/doc/languages-frameworks/php.section.md @NixOS/php @aanderse @etu @globin @ma27 @talyz
/nixos/tests/php @NixOS/php @aanderse @etu @globin @ma27 @talyz
/pkgs/build-support/build-pecl.nix @NixOS/php @aanderse @etu @globin @ma27 @talyz
/pkgs/development/interpreters/php @jtojnar @NixOS/php @aanderse @etu @globin @ma27 @talyz
/pkgs/development/php-packages @NixOS/php @aanderse @etu @globin @ma27 @talyz
/pkgs/top-level/php-packages.nix @jtojnar @NixOS/php @aanderse @etu @globin @ma27 @talyz
# Podman, CRI-O modules and related
/nixos/modules/virtualisation/containers.nix @NixOS/podman @zowoq

View File

@ -13,5 +13,10 @@ buildPecl {
makeFlags = [ "phpincludedir=$(dev)/include" ];
outputs = [ "out" "dev" ];
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "Userland cache for PHP";
license = licenses.php301;
homepage = "https://pecl.php.net/package/APCu";
maintainers = teams.php.members;
};
}

View File

@ -14,6 +14,11 @@ buildPecl {
mv $out/lib/php/extensions/apc.so $out/lib/php/extensions/apcu_bc.so
'';
meta.maintainers = lib.teams.php.members;
meta.broken = lib.versionAtLeast php.version "8";
meta = with lib; {
description = "APCu Backwards Compatibility Module";
license = licenses.php301;
homepage = "https://pecl.php.net/package/apcu_bc";
maintainers = teams.php.members;
broken = versionAtLeast php.version "8";
};
}

View File

@ -6,5 +6,10 @@ buildPecl {
version = "1.0.10";
sha256 = "13s5r1szd80g1mqickghdd38mvjkwss221322mmbrykcfgp4fs30";
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "Exposes the abstract syntax tree generated by PHP";
license = licenses.bsd3;
homepage = "https://pecl.php.net/package/ast";
maintainers = teams.php.members;
};
}

View File

@ -44,6 +44,11 @@ buildPecl {
'')
];
meta.broken = lib.versionAtLeast php.version "8.0";
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "Couchbase Server PHP extension";
license = licenses.asl20;
homepage = "https://docs.couchbase.com/php-sdk/current/project-docs/sdk-release-notes.html";
maintainers = teams.php.members;
broken = versionAtLeast php.version "8.0";
};
}

View File

@ -10,5 +10,10 @@ buildPecl {
makeFlags = [ "phpincludedir=$(dev)/include" ];
outputs = [ "out" "dev" ];
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "Binary serialization for PHP";
license = licenses.bsd3;
homepage = "https://github.com/igbinary/igbinary/";
maintainers = teams.php.members;
};
}

View File

@ -23,5 +23,10 @@ buildPecl {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ pcre2 ];
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "Imagick is a native php extension to create and modify images using the ImageMagick API";
license = licenses.php301;
homepage = "https://pecl.php.net/package/imagick";
maintainers = teams.php.members;
};
}

View File

@ -11,5 +11,10 @@ buildPecl {
echo "#define HAVE_MBSTRING 1" >> config.h
'';
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "Mailparse is an extension for parsing and working with email messages";
license = licenses.php301;
homepage = "https://pecl.php.net/package/mailparse";
maintainers = lib.teams.php.members;
};
}

View File

@ -19,6 +19,7 @@ buildPecl {
meta = with lib; {
description = "C extension that is a drop-in replacement for MaxMind\\Db\\Reader";
license = with licenses; [ asl20 ];
homepage = "https://github.com/maxmind/MaxMind-DB-Reader-php";
maintainers = with maintainers; [ ajs124 das_j ] ++ teams.php.members;
};
}

View File

@ -26,5 +26,10 @@ buildPecl {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ cyrus_sasl zlib ];
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "PHP extension for interfacing with memcached via libmemcached library";
license = licenses.php301;
homepage = "https://github.com/php-memcached-dev/php-memcached";
maintainers = teams.php.members;
};
}

View File

@ -17,5 +17,10 @@ buildPecl {
pcre2
] ++ lib.optional stdenv.isDarwin darwin.apple_sdk.frameworks.Security;
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "MongoDB driver for PHP";
license = licenses.asl20;
homepage = "https://docs.mongodb.com/drivers/php/";
maintainers = teams.php.members;
};
}

View File

@ -11,5 +11,10 @@ buildPecl {
sed -i -e 's|OCISDKMANINC=`.*$|OCISDKMANINC="${oracle-instantclient.dev}/include"|' config.m4
'';
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "Extension for Oracle Database";
license = licenses.php301;
homepage = "https://pecl.php.net/package/oci8";
maintainers = teams.php.members;
};
}

View File

@ -8,5 +8,10 @@ buildPecl {
buildInputs = [ pcre2 ];
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "A self contained php-code-coverage compatible driver for PHP.";
license = licenses.php301;
homepage = "https://github.com/krakjoe/pcov";
maintainers = teams.php.members;
};
}

View File

@ -19,6 +19,7 @@ buildPecl {
meta = with lib; {
description = "A PHP extension for Dlib";
license = with licenses; [ mit ];
homepage = "https://github.com/goodspb/pdlib";
maintainers = lib.teams.php.members;
};
}

View File

@ -10,5 +10,10 @@ buildPecl {
buildInputs = [ unixODBC ] ++ lib.optionals stdenv.isDarwin [ libiconv ];
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "Microsoft Drivers for PHP for SQL Server";
license = licenses.mit;
homepage = "https://github.com/Microsoft/msphpsql";
maintainers = teams.php.members;
};
}

View File

@ -20,6 +20,11 @@ buildPecl {
"--with-libxl-libdir=${libxl}/lib"
];
meta.broken = lib.versionAtLeast php.version "8.0";
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "PHP Extension interface to the Excel writing/reading library";
license = licenses.php301;
homepage = "https://github.com/iliaal/php_excel";
maintainers = lib.teams.php.members;
broken = lib.versionAtLeast php.version "8.0";
};
}

View File

@ -2,8 +2,6 @@
let
pname = "phpmd";
version = "2.8.2";
isPhp74 = lib.versionAtLeast php.version "7.4";
in
mkDerivation {
inherit pname version;
@ -28,6 +26,6 @@ mkDerivation {
license = licenses.bsd3;
homepage = "https://phpmd.org/";
maintainers = teams.php.members;
broken = !isPhp74;
broken = versionAtLeast php.version "7.4";
};
}

View File

@ -17,6 +17,7 @@ buildPecl {
Pinba is a MySQL storage engine that acts as a realtime monitoring and
statistics server for PHP using MySQL as a read-only interface.
'';
license = licenses.lgpl2Plus;
homepage = "http://pinba.org/";
maintainers = teams.php.members;
};

View File

@ -15,6 +15,7 @@ buildPecl {
meta = with lib; {
description = "Kafka client based on librdkafka";
license = licenses.mit;
homepage = "https://github.com/arnaud-lb/php-rdkafka";
maintainers = teams.php.members;
};

View File

@ -14,5 +14,10 @@ buildPecl {
hash
];
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "PHP extension for interfacing with Redis";
license = licenses.php301;
homepage = "https://github.com/phpredis/phpredis/";
maintainers = teams.php.members;
};
}

View File

@ -10,5 +10,10 @@ buildPecl {
nativeBuildInputs = [ pkg-config ];
buildInputs = [ samba ];
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "PHP wrapper for libsmbclient";
license = licenses.bsd2;
homepage = "https://github.com/eduardok/libsmbclient-php";
maintainers = teams.php.members;
};
}

View File

@ -10,5 +10,10 @@ buildPecl {
unixODBC
] ++ lib.optionals stdenv.isDarwin [ libiconv ];
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "Microsoft Drivers for PHP for SQL Server";
license = licenses.mit;
homepage = "https://github.com/Microsoft/msphpsql";
maintainers = teams.php.members;
};
}

View File

@ -11,5 +11,10 @@ buildPecl {
zendExtension = true;
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "Provides functions for function traces and profiling";
license = licenses.php301;
homepage = "https://xdebug.org/";
maintainers = teams.php.members;
};
}

View File

@ -10,5 +10,10 @@ buildPecl {
nativeBuildInputs = [ pkg-config ];
meta.maintainers = lib.teams.php.members;
meta = with lib; {
description = "YAML-1.1 parser and emitter";
license = licenses.mit;
homepage = "http://bd808.com/pecl-file_formats-yaml/";
maintainers = teams.php.members;
};
}