From patchwork Thu Feb 8 09:35:46 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hartmut Goebel X-Patchwork-Id: 59951 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 0A03627BBEC; Thu, 8 Feb 2024 09:38:54 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-3.8 required=5.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_MSPIKE_H5,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS,URIBL_BLOCKED, URIBL_SBL_A autolearn=ham autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id BC52127BBEA for ; Thu, 8 Feb 2024 09:38:53 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rY0q2-0004ju-Hp; Thu, 08 Feb 2024 04:36:58 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rY0q0-0004hw-NJ for guix-patches@gnu.org; Thu, 08 Feb 2024 04:36:56 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rY0q0-0001zG-FA for guix-patches@gnu.org; Thu, 08 Feb 2024 04:36:56 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rY0qE-0006Li-N1 for guix-patches@gnu.org; Thu, 08 Feb 2024 04:37:10 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#68990] [PATCH 16/28] gnu: Add ruby-google-protobuf. Resent-From: Hartmut Goebel Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 08 Feb 2024 09:37:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 68990 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 68990@debbugs.gnu.org Received: via spool by 68990-submit@debbugs.gnu.org id=B68990.170738501124155 (code B ref 68990); Thu, 08 Feb 2024 09:37:10 +0000 Received: (at 68990) by debbugs.gnu.org; 8 Feb 2024 09:36:51 +0000 Received: from localhost ([127.0.0.1]:59079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rY0pu-0006HV-PE for submit@debbugs.gnu.org; Thu, 08 Feb 2024 04:36:51 -0500 Received: from mail03.noris.net ([62.128.1.223]:38573) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rY0ps-0006HI-SC for 68990@debbugs.gnu.org; Thu, 08 Feb 2024 04:36:49 -0500 Received: from p57b09e9c.dip0.t-ipconnect.de ([87.176.158.156] helo=hermia.goebel-consult.de) by mail03.noris.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim) (envelope-from ) id 1rY0pe-0002nG-0c for 68990@debbugs.gnu.org; Thu, 08 Feb 2024 10:36:34 +0100 Received: from lenashee.fritz.box (lenashee.goebel-consult.de [192.168.110.2]) by hermia.goebel-consult.de (Postfix) with ESMTP id E64395F559; Thu, 8 Feb 2024 10:36:00 +0100 (CET) From: Hartmut Goebel Date: Thu, 8 Feb 2024 10:35:46 +0100 Message-ID: <5c0ba88eb4404a8f6e117f4f195133f4efcfcfb9.1707383695.git.h.goebel@crazy-compilers.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 X-Noris-IP: 87.176.158.156 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/packages/ruby.scm (ruby-google-protobuf): New variable. --- gnu/packages/ruby.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/ruby.scm b/gnu/packages/ruby.scm index ad24d68d61..182ea21d18 100644 --- a/gnu/packages/ruby.scm +++ b/gnu/packages/ruby.scm @@ -17737,6 +17737,32 @@ (define (run-with-output-file file command . args) (license license:bsd-2) (properties `((upstream-name . "anystyle-cli"))))) +(define-public ruby-google-protobuf + (package + (name "ruby-google-protobuf") + (version "3.24.4") + (source (origin + (method url-fetch) + (uri (rubygems-uri "google-protobuf" version)) + (sha256 + (base32 + "1jpjf9p3yf11f1fx74whp4zbxwcaf7jd5y10gknx61fr5z50791q")))) + (build-system ruby-build-system) + (arguments + `(#:tests? #f)) ;; has no tests + (synopsis "Protocol Buffers are Google's data interchange format") + (description "This library contains the Ruby extension that implements +Protocol Buffers functionality in Ruby. + +The Ruby extension makes use of generated Ruby code that defines message and +enum types in a Ruby DSL. You may write definitions in this DSL directly, but +we recommend using protoc's Ruby generation support with @code{.proto} files. +The build process in this directory only installs the extension; you need to +install @code{protoc} (in package ruby-grpc-tools) as well to have Ruby code +generation functionality.") + (home-page "https://protobuf.dev") + (license license:bsd-3))) + ;;; ;;; 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