~ruther/guix-local

6c58105e7954ab0c9bd6e234185caa26c3153805 — Hartmut Goebel 2 years ago be897d4
gnu: Add ruby-grpc.

* gnu/packages/ruby.scm (ruby-grpc): New variable.
1 files changed, 23 insertions(+), 0 deletions(-)

M gnu/packages/ruby.scm
M gnu/packages/ruby.scm => gnu/packages/ruby.scm +23 -0
@@ 17783,6 17783,29 @@ generation functionality.")
    (home-page "https://github.com/googleapis/common-protos-ruby")
    (license license:asl2.0)))

(define-public ruby-grpc
  (package
    (name "ruby-grpc")
    (version "1.62.0")
    (source (origin
              (method url-fetch)
              (uri (rubygems-uri "grpc" version))
              (sha256
               (base32
                "03z8yq0z228g6xxxq6s2mmslpv6psrdmi30dpmhysr4px16d897n"))))
    (build-system ruby-build-system)
    (arguments
     `(#:tests? #f))  ;; has no tests
    ;; TODO remove third-party sources (zlib, upb, utf8-range, re2, c-ares,
    ;; boringssl-with-bazel, address_sorting, abseil-cpp), see Makefile
    (propagated-inputs (list ruby-google-protobuf
                             ruby-googleapis-common-protos-types))
    (synopsis "GRPC system in Ruby")
    (description "GRPC is a high performance, open-source universal RPC
framework.  This package provides a ruby interface for it.")
    (home-page "https://github.com/grpc/grpc/tree/master/src/ruby")
    (license license:asl2.0)))

;;;
;;; Avoid adding new packages to the end of this file. To reduce the chances
;;; of a merge conflict, place them above by existing packages with similar