From patchwork Sat Jan 11 01:57:49 2025 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jordan Moore X-Patchwork-Id: 36919 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 CB33827BBE2; Sat, 11 Jan 2025 02:03:18 +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.6 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable 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 15D3027BBEA for ; Sat, 11 Jan 2025 02:03:18 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tWQpV-0001jM-Ol; Fri, 10 Jan 2025 21:02:25 -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 1tWQpR-0001gY-NZ for guix-patches@gnu.org; Fri, 10 Jan 2025 21:02:21 -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 1tWQpR-0007a5-Es for guix-patches@gnu.org; Fri, 10 Jan 2025 21:02:21 -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=f6HKSzy7is3TvMPNlHi63Bx559R175R7j80HX+OirO4=; b=thz3BP6PJHrzTLvp+ahJBGouS+BFz5R16yJ5x0FpuOWoJXE0bcT7qwnQIdf9/e6jALwi3bQIZ7hAmTyMccM3xxYF2qhU7b5E/mCHqLTGkkXhu/uigEaWl38+zJh652O9myRpICqoa0NsDnwAcRguvyy1DiC9A81k5SVADwc2yurmajad5o2vnAY7lP4qq4k4tht1kzxBmiP9Bdn4NPyuxVa4lKPF1nH+ff9cFacdWvbz4DxyNmW75QRe9z/FORjGZwHzvY44C3Asi70nT4jhhLeBVua142oEoXPy0pk3+2GPgyHzJsCrSKu9Y0DurXyD/0SM1j5d2Qnkh+qnUsmieQ==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tWQpQ-00059C-VS; Fri, 10 Jan 2025 21:02:21 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#75127] [PATCH v6 37/44] gnu: Add rust-console-api-0.8. Resent-From: Jordan Moore Original-Sender: "Debbugs-submit" Resent-CC: divya@subvertising.org, efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 11 Jan 2025 02:02:20 +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 , Divya Ranjan Pattanaik , Efraim Flashner X-Debbugs-Original-Xcc: Divya Ranjan Pattanaik , Efraim Flashner Received: via spool by 75127-submit@debbugs.gnu.org id=B75127.173656092819609 (code B ref 75127); Sat, 11 Jan 2025 02:02:20 +0000 Received: (at 75127) by debbugs.gnu.org; 11 Jan 2025 02:02:08 +0000 Received: from localhost ([127.0.0.1]:40639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tWQpD-000560-HL for submit@debbugs.gnu.org; Fri, 10 Jan 2025 21:02:08 -0500 Received: from fhigh-b6-smtp.messagingengine.com ([202.12.124.157]:50515) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tWQnG-0004nI-HQ for 75127@debbugs.gnu.org; Fri, 10 Jan 2025 21:00:09 -0500 Received: from phl-compute-03.internal (phl-compute-03.phl.internal [10.202.2.43]) by mailfhigh.stl.internal (Postfix) with ESMTP id F3EFA2540224; Fri, 10 Jan 2025 21:00:00 -0500 (EST) Received: from phl-mailfrontend-01 ([10.202.2.162]) by phl-compute-03.internal (MEProxy); Fri, 10 Jan 2025 21:00:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=struct.foo; h=cc :cc:content-transfer-encoding:content-type:date:date:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to; s=fm1; t=1736560800; x= 1736647200; bh=f6HKSzy7is3TvMPNlHi63Bx559R175R7j80HX+OirO4=; b=M pxO7yXl/GRUKMAtv3imyL0n4sC37CpNyLL42U09g1JPLrH2FDogtg5ied/KNdNJQ 74A7Bn8tiuRAM/53DJ1zl4vc14T4i0QNrtlPdI8ghyXdhtoYArdBUxKHFh6vyHZ5 DdxaA1fkcpwvyK9hI01TU3kMN78LSmWTgE7xsTBZ/CjFtVWO7/10Ppy/P21bcRv0 uHsceCrzf9huCe0xm0yeZJWkWDehSQAsYyMpGDgNDsOyWbUJ3fWazFXraHB70OGQ EOYIhMh25NtdK521wGEmS1m7wiH/UKw08kk2efRmmuMz7MaEycVwVdssMJJeJX8C NJ1yZD7YX59RuIxERh5Jg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-sender :x-me-sender:x-sasl-enc; s=fm2; t=1736560800; x=1736647200; bh=f 6HKSzy7is3TvMPNlHi63Bx559R175R7j80HX+OirO4=; b=IB8HPjk06D1RDeCdU cxSZ+ff73E9k9N/A5xygTJUQ/YUSgaaIT/EqeTdU3y6/wnn2yJN1H/5408O4s1JI 81pF0TFXlcPsIdzaqwG6GsmZ3hGZNyVuOh7DX+tvuDN8tT/B42kBhjPrkOlD19BK 4I53anj8nxLs8nb1hH8axCRHhsTSHXIgHIFvCX7yn4H6xIt+xJJxoRh5GHmIgDyV MMQmvfjPI4L+maAT4lY0jEX/xY18KFj8JcFQdWVGF5qooCbSLnKNoW1KVAtY9srU HoYeJLggGKW5JQUsE5HT682vA/dWNQEeJdUre7Q+6rZBNdhFgYJ5H5X5V74zliDZ mfI9Q== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrudegledggedtucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucenucfjughrpefhvfevuf ffkffojghfggfgsedtkeertdertddtnecuhfhrohhmpeflohhruggrnhcuofhoohhrvgcu oehlohgtkhgsohigsehsthhruhgtthdrfhhooheqnecuggftrfgrthhtvghrnhepvdfffe eileduffffvedukeduveeuieehudeiuedtveejkeffhefghedtledtudehnecuffhomhgr ihhnpehgihhthhhusgdrtghomhenucevlhhushhtvghrufhiiigvpedvnecurfgrrhgrmh epmhgrihhlfhhrohhmpehlohgtkhgsohigsehsthhruhgtthdrfhhoohdpnhgspghrtghp thhtohepvddpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepjeehuddvjeesuggvsg gsuhhgshdrghhnuhdrohhrghdprhgtphhtthhopehlohgtkhgsohigsehsthhruhgtthdr fhhooh X-ME-Proxy: Feedback-ID: i4d1648a8:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 10 Jan 2025 21:00:00 -0500 (EST) From: Jordan Moore Date: Fri, 10 Jan 2025 20:57:49 -0500 Message-ID: X-Mailer: git-send-email 2.46.0 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: , 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/crates-io.scm (rust-console-api-0.8): New variable. Change-Id: Ib63704d92bed9fef827b9f976e7e9a9979bbf0b2 --- gnu/packages/crates-io.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7f6d1ed688..256a8dfb0c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -15199,6 +15199,39 @@ (define-public rust-console-0.7 "This package provides a terminal and console abstraction for Rust.") (license license:expat))) +(define-public rust-console-api-0.8 + (package + (name "rust-console-api") + (version "0.8.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "console-api" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0mr8xkzcb7mrcm2ca0ah1sj21rhpk207klscnql884hdrdg76c40")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--" + ;; test will fail if source is not commited into a git repo, + ;; using the git clone instead of crate-uri for crate source + ;; requires pulling in all the dependencies for the Cargo.lock + "--skip=bootstrap") + #:cargo-inputs (("rust-futures-core" ,rust-futures-core-0.3) + ("rust-prost" ,rust-prost-0.13) + ("rust-prost-build" ,rust-prost-build-0.13) + ("rust-prost-types" ,rust-prost-types-0.13) + ("rust-tonic" ,rust-tonic-0.12) + ("rust-tonic-build" ,rust-tonic-build-0.12) + ("rust-tracing-core" ,rust-tracing-core-0.1)))) + (native-inputs (list protobuf git)) + (home-page "https://github.com/tokio-rs/console/blob/main/console-api") + (synopsis "Protobuf wire format bindings for the Tokio console.") + (description "This package provides Protobuf wire format bindings for +the Tokio console.") + (license license:expat))) + (define-public rust-console-error-panic-hook-0.1 (package (name "rust-console-error-panic-hook")