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