blob: 25b9b57057e4a7fc4b387a6cf5fbe2d0b77c9564 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
{
buildPecl,
pkg-config,
lib,
grpc,
php,
}:
buildPecl {
pname = "grpc";
inherit (grpc) version src;
sourceRoot = "${grpc.src.name}/src/php/ext/grpc";
patches = [
./use-pkgconfig.patch # https://github.com/grpc/grpc/pull/35404
./skip-darwin-test.patch # https://github.com/grpc/grpc/pull/35403
];
nativeBuildInputs = [ pkg-config ];
buildInputs = [ grpc ];
doCheck = true;
meta = {
description = "High performance, open source, general RPC framework that puts mobile and HTTP/2 first";
homepage = "https://github.com/grpc/grpc/tree/master/src/php/ext/grpc";
license = lib.licenses.asl20;
teams = [ lib.teams.php ];
};
}
|