diff options
| author | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2023-07-23 18:38:05 +0200 |
|---|---|---|
| committer | Hartmut Goebel <h.goebel@crazy-compilers.com> | 2024-02-24 16:42:42 +0100 |
| commit | 8663372dac1589993731ea758f5ceb4cfd82a56a (patch) | |
| tree | 0dae6a5433514bbd7bdd84c278006934bf072773 /gnu/packages/ruby.scm | |
| parent | 3f30f7d78c072e8a95ff737031fe6489f8103d1d (diff) | |
gnu: Add ruby-google-protobuf.
* gnu/packages/ruby.scm (ruby-google-protobuf): New variable.
Diffstat (limited to 'gnu/packages/ruby.scm')
| -rw-r--r-- | gnu/packages/ruby.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index c30a47c732b..a60c9bf306e 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm | |||
| @@ -17737,6 +17737,33 @@ has not yet been packaged for Guix.") | |||
| 17737 | (license license:bsd-2) | 17737 | (license license:bsd-2) |
| 17738 | (properties `((upstream-name . "anystyle-cli"))))) | 17738 | (properties `((upstream-name . "anystyle-cli"))))) |
| 17739 | 17739 | ||
| 17740 | (define-public ruby-google-protobuf | ||
| 17741 | (package | ||
| 17742 | (name "ruby-google-protobuf") | ||
| 17743 | (version "3.25.3") | ||
| 17744 | (source (origin | ||
| 17745 | (method url-fetch) | ||
| 17746 | (uri (rubygems-uri "google-protobuf" version)) | ||
| 17747 | (sha256 | ||
| 17748 | (base32 | ||
| 17749 | "1mnxzcq8kmyfb9bkzqnp019d1hx1vprip3yzdkkha6b3qz5rgg9r")))) | ||
| 17750 | (build-system ruby-build-system) | ||
| 17751 | (arguments | ||
| 17752 | `(#:tests? #f)) ;; has no tests | ||
| 17753 | (native-inputs (list ruby-rake)) | ||
| 17754 | (synopsis "Protocol Buffers are Google's data interchange format") | ||
| 17755 | (description "This library contains the Ruby extension that implements | ||
| 17756 | Protocol Buffers functionality in Ruby. | ||
| 17757 | |||
| 17758 | The Ruby extension makes use of generated Ruby code that defines message and | ||
| 17759 | enum types in a Ruby DSL. You may write definitions in this DSL directly, but | ||
| 17760 | we recommend using protoc's Ruby generation support with @code{.proto} files. | ||
| 17761 | The build process in this directory only installs the extension; you need to | ||
| 17762 | install @code{protoc} (in package ruby-grpc-tools) as well to have Ruby code | ||
| 17763 | generation functionality.") | ||
| 17764 | (home-page "https://protobuf.dev") | ||
| 17765 | (license license:bsd-3))) | ||
| 17766 | |||
| 17740 | ;;; | 17767 | ;;; |
| 17741 | ;;; Avoid adding new packages to the end of this file. To reduce the chances | 17768 | ;;; Avoid adding new packages to the end of this file. To reduce the chances |
| 17742 | ;;; of a merge conflict, place them above by existing packages with similar | 17769 | ;;; of a merge conflict, place them above by existing packages with similar |
