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