From patchwork Sat May 4 11:35:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Herman Rimm X-Patchwork-Id: 64082 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 DC80E27BBEA; Sat, 4 May 2024 12:48:46 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,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 36C7C27BBE2 for ; Sat, 4 May 2024 12:48:46 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1s3Drl-0001FY-4D; Sat, 04 May 2024 07:47:45 -0400 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 1s3Dqt-0000an-95 for guix-patches@gnu.org; Sat, 04 May 2024 07:46:52 -0400 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 1s3Dqp-00007r-Jw for guix-patches@gnu.org; Sat, 04 May 2024 07:46:50 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1s3DrC-0007bA-He; Sat, 04 May 2024 07:47:10 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69257] [PATCH rust-team v3 48/75] gnu: Add rust-pretty-hex-0.4. Resent-From: Herman Rimm Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Sat, 04 May 2024 11:47:10 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69257 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69257@debbugs.gnu.org Cc: Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69257-submit@debbugs.gnu.org id=B69257.171482322629109 (code B ref 69257); Sat, 04 May 2024 11:47:10 +0000 Received: (at 69257) by debbugs.gnu.org; 4 May 2024 11:47:06 +0000 Received: from localhost ([127.0.0.1]:53242 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3Dr7-0007ZD-JK for submit@debbugs.gnu.org; Sat, 04 May 2024 07:47:06 -0400 Received: from 81-205-150-117.fixed.kpn.net ([81.205.150.117]:44215 helo=email.rimm.ee) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1s3DiA-0004Lm-Uj for 69257@debbugs.gnu.org; Sat, 04 May 2024 07:37:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rimm.ee; s=herman; t=1714822639; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=b+tAotqHGYHDnhShDfNBsKSS0aENdaEDCGTgx+9ncBo=; b=CvBH053MOPJ7OAlUX26gpoXbM80Xqb+xA2+5bhpYfL699HGB3wgJesRsOQvvieb9ampz4I LPvJcTIBaDXBZLETmeT2ocFc39SSjBPugiY41DsJUpkXWz9TgTHiZ+nc7h9yqeryy2OfX6 atYyrt5b3tl32T78ZBp3ulwVYFVVJzRu+mozwfOcBahqz4jGU0C4ICR0wcaxY7jyK6DdMY IQ6clOZkg5ChSgHOvrG4CyBGWa98bPkM35CqC+MUIFd5Bs2ZkLe0r/Y8B8IYk9OEyr/rcY hX4rjSCxyqJemy583k70tGZvOZ0hQbh4PjRRzsjIkudwfo0XppePkGV2bohAYA== Received: by 81-205-150-117.fixed.kpn.net (OpenSMTPD) with ESMTPSA id c014cb29 (TLSv1.3:TLS_CHACHA20_POLY1305_SHA256:256:NO) for <69257@debbugs.gnu.org>; Sat, 4 May 2024 11:37:19 +0000 (UTC) Date: Sat, 4 May 2024 13:35:20 +0200 Message-ID: <58b9c8fa000d8ea5f78d974dfba755fa6ee4a106.1714820130.git.herman@rimm.ee> X-Mailer: git-send-email 2.41.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: , 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 * gnu/packages/crates-io.scm (rust-pretty-hex-0.4): Add variable. (rust-pretty-hex-0.3): Inherit from rust-pretty-hex-0.4. Change-Id: Ia64b09cc50d7f7291644327e3b66cc22570e8f2a --- gnu/packages/crates-io.scm | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index e2f64d7001..b01becbbf1 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -57795,25 +57795,44 @@ (define-public rust-pretty-env-logger-0.3 ("rust-chrono" ,rust-chrono-0.4) ("rust-env-logger" ,rust-env-logger-0.6)))))) -(define-public rust-pretty-hex-0.3 +(define-public rust-pretty-hex-0.4 (package (name "rust-pretty-hex") - (version "0.3.0") + (version "0.4.1") (source (origin (method url-fetch) (uri (crate-uri "pretty-hex" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "1mf8xvlfri4impj2paj4azx7hxh7l0i38cjyib1hiikwvlqhiyn6")))) + (base32 "0m0j8pqmh6gq1mq7yzp12z0ix159fw0di5lhiwv2y1j0m3j3xj5v")))) (build-system cargo-build-system) (arguments - (list #:cargo-development-inputs `(("rust-heapless" ,rust-heapless-0.5)))) + `(#:cargo-development-inputs + (("rust-heapless" ,rust-heapless-0.8)))) (home-page "https://github.com/wolandr/pretty-hex") (synopsis "Prettified output of hexadecimal byte slices") - (description "Pretty hex dump of byte slices in the common style.") + (description + "This package provides pretty hex dumps of bytes slice in the +common style.") (license license:expat))) +(define-public rust-pretty-hex-0.3 + (package + (inherit rust-pretty-hex-0.4) + (name "rust-pretty-hex") + (version "0.3.0") + (source + (origin + (method url-fetch) + (uri (crate-uri "pretty-hex" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1mf8xvlfri4impj2paj4azx7hxh7l0i38cjyib1hiikwvlqhiyn6")))) + (arguments + (list #:cargo-development-inputs + `(("rust-heapless" ,rust-heapless-0.5)))))) + (define-public rust-prettyplease-0.2 (package (name "rust-prettyplease")