mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
755b915a15
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \ | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
31 lines
682 B
Nix
31 lines
682 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;
|
|
maintainers = lib.teams.php.members;
|
|
};
|
|
}
|