forked from mirrors/nixpkgs
php.extensions.amqp: 1.11.0beta -> 1.11.0
This commit is contained in:
parent
e28920b49e
commit
0dcce69be6
|
@ -1,16 +1,24 @@
|
|||
{ buildPecl, lib, rabbitmq-c }:
|
||||
{ buildPecl, lib, rabbitmq-c, fetchFromGitHub }:
|
||||
|
||||
buildPecl {
|
||||
let
|
||||
version = "1.11.0";
|
||||
in buildPecl {
|
||||
inherit version;
|
||||
pname = "amqp";
|
||||
|
||||
version = "1.11.0beta";
|
||||
sha256 = "sha256-HbVLN6fg2htYZgAFw+IhYHP+XN8j7cTLG6S0YHHOC14=";
|
||||
src = fetchFromGitHub {
|
||||
owner = "php-amqp";
|
||||
repo = "php-amqp";
|
||||
rev = "v${version}";
|
||||
sha256 = "sha256-CDhNDk78D15MtljbtyYj8euPnCruLZnc2NEHqXDX8HY=";
|
||||
};
|
||||
|
||||
buildInputs = [ rabbitmq-c ];
|
||||
|
||||
AMQP_DIR = rabbitmq-c;
|
||||
|
||||
meta = with lib; {
|
||||
changelog = "https://github.com/php-amqp/php-amqp/releases/tag/v${version}";
|
||||
description = "PHP extension to communicate with any AMQP compliant server";
|
||||
license = licenses.php301;
|
||||
homepage = "https://github.com/php-amqp/php-amqp";
|
||||
|
|
Loading…
Reference in a new issue