php.extensions.amqp: 1.11.0beta -> 1.11.0
This commit is contained in:
parent
e28920b49e
commit
0dcce69be6
1 changed files with 12 additions and 4 deletions
|
@ -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";
|
pname = "amqp";
|
||||||
|
|
||||||
version = "1.11.0beta";
|
src = fetchFromGitHub {
|
||||||
sha256 = "sha256-HbVLN6fg2htYZgAFw+IhYHP+XN8j7cTLG6S0YHHOC14=";
|
owner = "php-amqp";
|
||||||
|
repo = "php-amqp";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "sha256-CDhNDk78D15MtljbtyYj8euPnCruLZnc2NEHqXDX8HY=";
|
||||||
|
};
|
||||||
|
|
||||||
buildInputs = [ rabbitmq-c ];
|
buildInputs = [ rabbitmq-c ];
|
||||||
|
|
||||||
AMQP_DIR = rabbitmq-c;
|
AMQP_DIR = rabbitmq-c;
|
||||||
|
|
||||||
meta = with lib; {
|
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";
|
description = "PHP extension to communicate with any AMQP compliant server";
|
||||||
license = licenses.php301;
|
license = licenses.php301;
|
||||||
homepage = "https://github.com/php-amqp/php-amqp";
|
homepage = "https://github.com/php-amqp/php-amqp";
|
||||||
|
|
Loading…
Reference in a new issue