php.extensions.amqp: 1.11.0beta -> 1.11.0

This commit is contained in:
Pol Dellaiera 2022-12-25 21:14:10 +01:00
parent e28920b49e
commit 0dcce69be6
No known key found for this signature in database
GPG key ID: D476DFE9C67467CA

View file

@ -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";