Merge pull request #140999 from edibopp/php-amqp

phpExtensions.amqp: init at 1.11.0beta
This commit is contained in:
Elis Hirwing 2021-10-11 09:38:17 +02:00 committed by GitHub
commit fa06e34c5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 21 additions and 0 deletions

@ -0,0 +1,19 @@
{ buildPecl, lib, rabbitmq-c }:
buildPecl {
pname = "amqp";
version = "1.11.0beta";
sha256 = "sha256-HbVLN6fg2htYZgAFw+IhYHP+XN8j7cTLG6S0YHHOC14=";
buildInputs = [ rabbitmq-c ];
AMQP_DIR = rabbitmq-c;
meta = with lib; {
description = "PHP extension to communicate with any AMQP compliant server";
license = licenses.php301;
homepage = "https://github.com/php-amqp/php-amqp";
maintainers = teams.php.members;
};
}

@ -159,6 +159,8 @@ lib.makeScope pkgs.newScope (self: with self; {
# or php.withExtensions to extend the functionality of the PHP
# interpreter.
extensions = {
amqp = callPackage ../development/php-packages/amqp { };
apcu = callPackage ../development/php-packages/apcu { };
apcu_bc = callPackage ../development/php-packages/apcu_bc { };