From patchwork Tue Mar 19 03:51:10 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: normally_js X-Patchwork-Id: 61967 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 42E9127BBEB; Tue, 19 Mar 2024 03:56:04 +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=-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 9630027BBE2 for ; Tue, 19 Mar 2024 03:56:03 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rmQZX-00012P-RN; Mon, 18 Mar 2024 23:55:31 -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 1rmQZV-0000yT-PM for guix-patches@gnu.org; Mon, 18 Mar 2024 23:55:29 -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 1rmQZV-0000JI-FR for guix-patches@gnu.org; Mon, 18 Mar 2024 23:55:29 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rmQa7-0006Ep-UI; Mon, 18 Mar 2024 23:56:07 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#69890] [PATCH 39/43] gnu: Add rust-byte-unit-5. Resent-From: normalmente Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Tue, 19 Mar 2024 03:56:07 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 69890 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 69890@debbugs.gnu.org Cc: normalmente , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 69890-submit@debbugs.gnu.org id=B69890.171082052423718 (code B ref 69890); Tue, 19 Mar 2024 03:56:07 +0000 Received: (at 69890) by debbugs.gnu.org; 19 Mar 2024 03:55:24 +0000 Received: from localhost ([127.0.0.1]:35188 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQZP-0006AN-O4 for submit@debbugs.gnu.org; Mon, 18 Mar 2024 23:55:24 -0400 Received: from mout02.posteo.de ([185.67.36.66]:51821) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rmQYE-0005zJ-Cv for 69890@debbugs.gnu.org; Mon, 18 Mar 2024 23:54:11 -0400 Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 49227240101 for <69890@debbugs.gnu.org>; Tue, 19 Mar 2024 04:53:26 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1710820406; bh=TYLRbwqQKr5w8kmKVt/BzgR9p6cknbkc9501Cm+pUMg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version: Content-Transfer-Encoding:From; b=iXIw9MvLygncSv07mMg2JL5AiqaFhMPmWfNZkwa+NnAwQOGiJIMk5vaOuU6ND2JNd JGTSjHbZaWcfx7CQCLUdGLB0hVLyl/ydwRrDphGUdgQg3Fe/9r3ZvKYJOgml/wVI4h QrApNdIm55iId1U/eF8TLPPgl8pXjmbjTMZ7GtDZE014+zyqU0ipO3I+i6B059xgf1 snDmjjIrXJcc8ckrbPvMDC6k7sPg0y1w9+Qc/WrDypXSG0pdySgs4izMQV/35Z94Bw pUAaiFJajW39vjMpQxEvD/KWT4Xx5fJeP/2yijryimlFwzcYmQnhNV67I2Fr/WPj6W qbwQvxbX8uK4g== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4TzHrP4gT0z6tm4; Tue, 19 Mar 2024 04:53:25 +0100 (CET) From: normalmente Date: Tue, 19 Mar 2024 03:51:10 +0000 Message-ID: <155d35e7e997cb3de2387211a1c9cd3b1f18475b.1710817681.git.normally_js@posteo.net> 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-byte-unit-5): New variable. Change-Id: I5ec5803355ec978b39bd41e995a55cd7d8b6ce0f --- gnu/packages/crates-io.scm | 31 ++++++++++++++++++++++++++----- 1 file changed, 26 insertions(+), 5 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index a5ce9579c6..cf8c957b2e 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -8685,28 +8685,49 @@ (define-public rust-byte-tools-0.3 (description "Bytes related utility functions.") (license (list license:asl2.0 license:expat)))) -(define-public rust-byte-unit-4 +(define-public rust-byte-unit-5 (package (name "rust-byte-unit") - (version "4.0.9") + (version "5.1.4") (source (origin (method url-fetch) (uri (crate-uri "byte-unit" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0lxi11qf6h1rqr0yhsh7i6755l325qrkv9r4bgismyik531mi1qw")))) + (base32 "0gnnl92szl7d6bxz028n03ifflg96z4xp0lxqc3m8rmjy2yikb1k")))) (build-system cargo-build-system) (arguments `(#:cargo-inputs - (("rust-serde" ,rust-serde-1) - ("rust-utf8-width" ,rust-utf8-width-0.1)))) + (("rust-rocket" ,rust-rocket-0.5) + ("rust-rust-decimal" ,rust-rust-decimal-1) + ("rust-serde" ,rust-serde-1) + ("rust-utf8-width" ,rust-utf8-width-0.1)) + #:cargo-development-inputs + (("rust-serde-json" ,rust-serde-json-1)))) (home-page "https://magiclen.org/byte-unit") (synopsis "Library for interaction with units of bytes") (description "This package provides a library for interaction with units of bytes.") (license license:expat))) +(define-public rust-byte-unit-4 + (package + (inherit rust-byte-unit-5) + (name "rust-byte-unit") + (version "4.0.9") + (source + (origin + (method url-fetch) + (uri (crate-uri "byte-unit" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0lxi11qf6h1rqr0yhsh7i6755l325qrkv9r4bgismyik531mi1qw")))) + (arguments + `(#:cargo-inputs + (("rust-serde" ,rust-serde-1) + ("rust-utf8-width" ,rust-utf8-width-0.1)))))) + (define-public rust-bytecheck-0.6 (package (name "rust-bytecheck")