From patchwork Thu Dec 21 20:55:04 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaeme Sifat X-Patchwork-Id: 57966 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 EBFFB27BBEA; Thu, 21 Dec 2023 20:59:10 +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,FREEMAIL_FROM,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 F175D27BBE2 for ; Thu, 21 Dec 2023 20:59:09 +0000 (GMT) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rGQ8B-0001NL-3P; Thu, 21 Dec 2023 15:58:59 -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 1rGQ8A-0001N4-3Q for guix-patches@gnu.org; Thu, 21 Dec 2023 15:58:58 -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 1rGQ89-00078m-Rr for guix-patches@gnu.org; Thu, 21 Dec 2023 15:58:57 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rGQ8D-0006l9-UY; Thu, 21 Dec 2023 15:59:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67958] [PATCH 6/7] gnu: Add rust-strum-0.25. Resent-From: Jaeme Sifat Original-Sender: "Debbugs-submit" Resent-CC: efraim@flashner.co.il, guix-patches@gnu.org Resent-Date: Thu, 21 Dec 2023 20:59:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67958 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 67958@debbugs.gnu.org Cc: Jaeme Sifat , Efraim Flashner X-Debbugs-Original-Xcc: Efraim Flashner Received: via spool by 67958-submit@debbugs.gnu.org id=B67958.170319228725902 (code B ref 67958); Thu, 21 Dec 2023 20:59:01 +0000 Received: (at 67958) by debbugs.gnu.org; 21 Dec 2023 20:58:07 +0000 Received: from localhost ([127.0.0.1]:45571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGQ7K-0006jh-W7 for submit@debbugs.gnu.org; Thu, 21 Dec 2023 15:58:07 -0500 Received: from mailtransmit05.runbox.com ([2a0c:5a00:149::26]:56632) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rGQ7J-0006ip-NR for 67958@debbugs.gnu.org; Thu, 21 Dec 2023 15:58:06 -0500 Received: from mailtransmit03.runbox ([10.9.9.163] helo=aibo.runbox.com) by mailtransmit05.runbox.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1rGQ79-002OLh-LD for 67958@debbugs.gnu.org; Thu, 21 Dec 2023 21:57:55 +0100 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=runbox.com; s=selector2; h=Content-Transfer-Encoding:MIME-Version:References:In-Reply-To :Message-ID:Date:Subject:Cc:To:From; bh=zmCm8zVktQnDPoX2HZv9mo+c2ff47YhMj5TMo4WwlH8=; b=XeMch18TI3sja0RYyZR/TVQ6YB C9WwgwYVwIHfe5I+Xee5mYDlCz8cp3Ll1hag/flI6aCDpcLYvcUtT5ukkxonU5yF1EpP35LxskEAF apEGRVAX/tpF8JmQQaSwEORBsSPbjV3L5po4NeLfxNEnDsKihz7UUljWhJCnhf/8AZaWsaCgieWmG HPZ143KMJL51cSXi2SMtT1AFPJq08VRFMr3Cqrrq6Kkz/S+QDnL394HZ8BDNA7fLM2ZOwoVoQVjdJ 4Z60PrQFxp2Jd776E7FpqSPFoVNcydL5fHZmO4/fQ4QQtTUGMK8AYqNromuvxD5G7ZoYGQoo/hRBk y4/GZgWg==; Received: from [10.9.9.72] (helo=submission01.runbox) by mailtransmit03.runbox with esmtp (Exim 4.86_2) (envelope-from ) id 1rGQ79-0006eZ-D9 for 67958@debbugs.gnu.org; Thu, 21 Dec 2023 21:57:55 +0100 Received: by submission01.runbox with esmtpsa [Authenticated ID (1176697)] (TLS1.2:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.93) id 1rGQ6w-00AvtM-7y; Thu, 21 Dec 2023 21:57:42 +0100 Date: Thu, 21 Dec 2023 15:55:04 -0500 Message-ID: <8a0ca603af2afb05fa1787a0bcbe1b9eb6882607.1703191511.git.jaeme@runbox.com> 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: Jaeme Sifat X-ACL-Warn: , Jaeme Sifat via Guix-patches X-Patchwork-Original-From: Jaeme Sifat via Guix-patches via From: Jaeme Sifat 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-strum-0.25): New variable. * gnu/packages/crates-io.scm (rust-strum-macros-0.25): New variable. Change-Id: I6501b29c09bfd0525336a1e61e8faaba58a6b3a7 --- gnu/packages/crates-io.scm | 66 ++++++++++++++++++++++++++++++-------- 1 file changed, 53 insertions(+), 13 deletions(-) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index cb1bdc9962..4ac932430d 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -75744,25 +75744,25 @@ (define-public rust-structopt-derive-0.2 "Parse command line argument by defining a struct, derive crate.") (license (list license:asl2.0 license:expat)))) -(define-public rust-strum-0.24 +(define-public rust-strum-0.25 (package (name "rust-strum") - (version "0.24.1") + (version "0.25.0") (source (origin (method url-fetch) (uri (crate-uri "strum" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0gz6cjhlps5idwasznklxdh2zsas6mxf99vr0n27j876q12n0gh6")))) + (base32 "09g1q55ms8vax1z0mxlbva3vm8n2r1179kfvbccnkjcidzm58399")))) (build-system cargo-build-system) (arguments - `(#:tests? #f ; Doc tests fail. + `(#:tests? #f #:cargo-inputs (("rust-phf" ,rust-phf-0.10) - ("rust-strum-macros" ,rust-strum-macros-0.24)) + ("rust-strum-macros" ,rust-strum-macros-0.25)) #:cargo-development-inputs - (("rust-strum-macros" ,rust-strum-macros-0.24)))) + (("rust-strum-macros" ,rust-strum-macros-0.25)))) (home-page "https://github.com/Peternator7/strum") (synopsis "Set of traits for working with enums and strings") (description @@ -75770,6 +75770,26 @@ (define-public rust-strum-0.24 easier in Rust.") (license license:expat))) +(define-public rust-strum-0.24 + (package + (inherit rust-strum-0.25) + (name "rust-strum") + (version "0.24.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "strum" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0gz6cjhlps5idwasznklxdh2zsas6mxf99vr0n27j876q12n0gh6")))) + (arguments + `(#:tests? #f ; Doc tests fail. + #:cargo-inputs + (("rust-phf" ,rust-phf-0.10) + ("rust-strum-macros" ,rust-strum-macros-0.24)) + #:cargo-development-inputs + (("rust-strum-macros" ,rust-strum-macros-0.24)))))) + (define-public rust-strum-0.21 (package (inherit rust-strum-0.24) @@ -75838,8 +75858,34 @@ (define-public rust-strum-0.18 `(#:cargo-inputs (("rust-strum-macros" ,rust-strum-macros-0.18)))))) +(define-public rust-strum-macros-0.25 + (package + (name "rust-strum-macros") + (version "0.25.3") + (source + (origin + (method url-fetch) + (uri (crate-uri "strum_macros" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "184y62g474zqb2f7n16x3ghvlyjbh50viw32p9w9l5lwmjlizp13")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) + ("rust-proc-macro2" ,rust-proc-macro2-1) + ("rust-quote" ,rust-quote-1) + ("rust-rustversion" ,rust-rustversion-1) + ("rust-syn" ,rust-syn-2)) + #:cargo-development-inputs (("rust-strum" ,rust-strum-0.25)))) + (home-page "https://github.com/Peternator7/strum") + (synopsis "Set of macros for working with enums and strings") + (description + "This crate provides helpful macros for working with enums and strings.") + (license license:expat))) + (define-public rust-strum-macros-0.24 (package + (inherit rust-strum-macros-0.25) (name "rust-strum-macros") (version "0.24.3") (source @@ -75849,7 +75895,6 @@ (define-public rust-strum-macros-0.24 (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 "0naxz2y38kwq5wgirmia64vvf6qhwy8j367rw966n62gsbh5nf0y")))) - (build-system cargo-build-system) (arguments `(#:cargo-inputs (("rust-heck" ,rust-heck-0.4) @@ -75858,12 +75903,7 @@ (define-public rust-strum-macros-0.24 ("rust-rustversion" ,rust-rustversion-1) ("rust-syn" ,rust-syn-1)) #:cargo-development-inputs - (("rust-strum" ,rust-strum-0.24)))) - (home-page "https://github.com/Peternator7/strum") - (synopsis "Set of macros for working with enums and strings") - (description - "This crate provides helpful macros for working with enums and strings.") - (license license:expat))) + (("rust-strum" ,rust-strum-0.24)))))) (define-public rust-strum-macros-0.21 (package