Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
31 lines
672 B
Nix
31 lines
672 B
Nix
{
|
|
buildPecl,
|
|
pkg-config,
|
|
lib,
|
|
grpc,
|
|
}:
|
|
|
|
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 ];
|
|
};
|
|
}
|