From patchwork Wed Feb 5 18:31:21 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 38263 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 5905627BBEA; Wed, 5 Feb 2025 18:35:14 +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=-7.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H2, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED 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 0BED027BBE2 for ; Wed, 5 Feb 2025 18:35:14 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tfkDv-0006k0-Ty; Wed, 05 Feb 2025 13:34:07 -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 1tfkDt-0006j0-KK for guix-patches@gnu.org; Wed, 05 Feb 2025 13:34:05 -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 1tfkDt-0002Wi-B7 for guix-patches@gnu.org; Wed, 05 Feb 2025 13:34:05 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:Date:From:To:Subject; bh=NsDCh+4fkux2PyqPZJE23aL4PhcpXp3c1ugcs5S4rv0=; b=UrHSKuKpInRzPseAZxDiEQRapevgvsi2LJjg6KYRdySQz6Ghl98/Z8qSDqfz6CjuE9bS+kdoOsm5X/QAVtbcfdeDRpREqWhnR0ct3Ogig6PNPAiRq2TD1LkrQQpGwYPTU/Sb2Bv/7/8N5lsx4nPKiYYqrHt2ptXACma6lzLIbVw7ZHu2ZemG9nUXKd7185iVQ4V2nkyBmhmuaFHpMllRpavUYy54U4oP7PVQugJWTTwBdKvr/s8YjThl/u34e4nQf5t8v8wsd4AeXmkS8XslobqdIKJ5mArEzwCmmPP171xBHJQG/qC5TrLrOxXcW5CNHq94gTmKYLA5yesvUfImxA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tfkDt-0004X1-5d for guix-patches@gnu.org; Wed, 05 Feb 2025 13:34:05 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75127] [PATCH v8 06/44] gnu: Add rust-tonic-web-0.12. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 05 Feb 2025 18:34:05 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 75127 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 75127@debbugs.gnu.org Cc: Jordan Moore Received: via spool by 75127-submit@debbugs.gnu.org id=B75127.173878039517084 (code B ref 75127); Wed, 05 Feb 2025 18:34:05 +0000 Received: (at 75127) by debbugs.gnu.org; 5 Feb 2025 18:33:15 +0000 Received: from localhost ([127.0.0.1]:52415 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tfkD3-0004R7-KA for submit@debbugs.gnu.org; Wed, 05 Feb 2025 13:33:15 -0500 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:56767 helo=email.rimm.ee) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tfkCr-0004NG-Iq for 75127@debbugs.gnu.org; Wed, 05 Feb 2025 13:33:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1738780367; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=NsDCh+4fkux2PyqPZJE23aL4PhcpXp3c1ugcs5S4rv0=; b=NxJk+BpmDfybj8tlcHm31xhNljbhaAql+e3IVONCmYzVSFvDw4/s6YR5BzkRTyzDw89hHv c5a2xpcUyKQlibBlwQ7xuM3s5u0gKzN3tRfzqdkhbHMbKNTgbQszol+sU42RDusllcOQS0 EMnjCLcAJUJr2sHImYAPsMiNssKDoV0N6IpIn72L06CZQvm7jh8XNenNDWqjx/hp28GTj4 Y35qkIDCpeHIR6OHud/gfO+qc3bCV+V3xDvLHjiqo/mueUqLBDXsCqdjjOZ627TMK/tBjS k/cXIOjFUK6ToX83ToUTiuXO0pqHYOXO3v6oK6qQGIy3OqO0DdQxxtbU46rddQ== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id c8bc2513 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO); Wed, 5 Feb 2025 18:32:47 +0000 (UTC) Date: Wed, 5 Feb 2025 19:31:21 +0100 Message-ID: <7acd449526e77f436287e8ae137b56d2ce810a70.1738779575.git.herman@rimm.ee> X-Mailer: git-send-email 2.47.1 In-Reply-To: References: MIME-Version: 1.0 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: , Reply-to: Herman Rimm X-ACL-Warn: , Herman Rimm via Guix-patches X-Patchwork-Original-From: Herman Rimm via Guix-patches via From: Herman Rimm 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 From: Jordan Moore * gnu/packages/crates-web.scm (rust-tonic-web-0.12): New variable. Change-Id: I5dee1393f90770a9677b19a346fd90e763cb67b2 --- gnu/packages/crates-web.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm index 9c21cac4bc6..393f6a5c789 100644 --- a/gnu/packages/crates-web.scm +++ b/gnu/packages/crates-web.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2024 Tomas Volf <~@wolfsden.cz> ;;; Copyright © 2024 Nguyễn Gia Phong ;;; Copyright © 2025 Ricardo Wurmus +;;; Copyright © 2024 Jordan Moore ;;; ;;; This file is part of GNU Guix. ;;; @@ -6565,6 +6566,38 @@ (define-public rust-tonic-build-0.12 "This package provides a codegen module of `tonic` @code{gRPC} implementation.") (license license:expat))) +(define-public rust-tonic-web-0.12 + (package + (name "rust-tonic-web") + (version "0.12.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "tonic-web" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0n2bhgs57kvqsk1z2fr1izcrrrbnfgda0pjargf3dmqsh0hdv6aj")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-base64" ,rust-base64-0.22) + ("rust-bytes" ,rust-bytes-1) + ("rust-http" ,rust-http-1) + ("rust-http-body" ,rust-http-body-1) + ("rust-http-body-util" ,rust-http-body-util-0.1) + ("rust-pin-project" ,rust-pin-project-1) + ("rust-tokio-stream" ,rust-tokio-stream-0.1) + ("rust-tonic" ,rust-tonic-0.12) + ("rust-tower-http" ,rust-tower-http-0.5) + ("rust-tower-layer" ,rust-tower-layer-0.3) + ("rust-tower-service" ,rust-tower-service-0.3) + ("rust-tracing" ,rust-tracing-0.1)))) + (home-page "https://github.com/hyperium/tonic") + (synopsis "grpc-web protocol translation for tonic services") + (description + "This package provides grpc-web protocol translation for tonic +services.") + (license license:expat))) + (define-public rust-tower-0.5 (package (name "rust-tower")