phpExtensions.amqp: init at 1.11.0beta
This commit is contained in:
parent
9ab12c6754
commit
637be68d8f
19
pkgs/development/php-packages/amqp/default.nix
Normal file
19
pkgs/development/php-packages/amqp/default.nix
Normal file
@ -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
|
# or php.withExtensions to extend the functionality of the PHP
|
||||||
# interpreter.
|
# interpreter.
|
||||||
extensions = {
|
extensions = {
|
||||||
|
amqp = callPackage ../development/php-packages/amqp { };
|
||||||
|
|
||||||
apcu = callPackage ../development/php-packages/apcu { };
|
apcu = callPackage ../development/php-packages/apcu { };
|
||||||
|
|
||||||
apcu_bc = callPackage ../development/php-packages/apcu_bc { };
|
apcu_bc = callPackage ../development/php-packages/apcu_bc { };
|
||||||
|
Loading…
Reference in New Issue
Block a user