phpExtensions.grpc: init at 1.45.0

This commit is contained in:
Soner Sayakci 2022-05-18 19:18:25 +02:00
parent a7bd2d19b8
commit 3ef60b5ffc
No known key found for this signature in database
GPG Key ID: 9C1024313354ABDE
2 changed files with 22 additions and 0 deletions

View File

@ -0,0 +1,20 @@
{ buildPecl, zlib, lib }:
buildPecl {
pname = "grpc";
version = "1.45.0";
sha256 = "sha256-SPnECBZ80sXfXYiVJjGfOsSxZBBZnasO9pPu9Q5klIg";
doCheck = true;
checkTarget = "test";
nativeBuildInputs = [ zlib ];
meta = with lib; {
description = "A high performance, open source, general RPC framework that puts mobile and HTTP/2 first.";
license = licenses.asl20;
homepage = "https://github.com/grpc/grpc/tree/master/src/php/ext/grpc";
maintainers = teams.php.members;
};
}

View File

@ -212,6 +212,8 @@ lib.makeScope pkgs.newScope (self: with self; {
gnupg = callPackage ../development/php-packages/gnupg { };
grpc = callPackage ../development/php-packages/grpc { };
igbinary = callPackage ../development/php-packages/igbinary { };
imagick = callPackage ../development/php-packages/imagick { };