unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Jaeme Sifat via Guix-patches via <guix-patches@gnu.org>
To: 67958@debbugs.gnu.org
Cc: Jaeme Sifat <jaeme@runbox.com>, Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#67958] [PATCH 6/7] gnu: Add rust-strum-0.25.
Date: Thu, 21 Dec 2023 15:55:04 -0500	[thread overview]
Message-ID: <8a0ca603af2afb05fa1787a0bcbe1b9eb6882607.1703191511.git.jaeme@runbox.com> (raw)
In-Reply-To: <cover.1703191510.git.jaeme@runbox.com>

* 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
-- 
2.41.0





  parent reply	other threads:[~2023-12-21 20:59 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-21 20:46 [bug#67958] [PATCH 0/7 rust-team] gnu: just: Update to 1.17.0 Jaeme Sifat via Guix-patches via
2023-12-21 20:54 ` [bug#67958] [PATCH 1/7] gnu: rust-regex-syntax-0.7: Update to 0.7.5 Jaeme Sifat via Guix-patches via
2023-12-21 20:55 ` [bug#67958] [PATCH 2/7] gnu: rust-regex-automata-0.3: Update to 0.3.9 Jaeme Sifat via Guix-patches via
2023-12-21 20:55 ` [bug#67958] [PATCH 3/7] gnu: Add rust-regex-1.9 Jaeme Sifat via Guix-patches via
2023-12-21 20:55 ` [bug#67958] [PATCH 4/7] gnu: Add rust-which-5 Jaeme Sifat via Guix-patches via
2023-12-21 20:55 ` [bug#67958] [PATCH 5/7] gnu: rust-heck-0.4: Update to 0.4.1 Jaeme Sifat via Guix-patches via
2023-12-21 20:55 ` Jaeme Sifat via Guix-patches via [this message]
2023-12-21 20:55 ` [bug#67958] [PATCH 7/7] gnu: just: Update to 1.17.0 Jaeme Sifat via Guix-patches via
2023-12-26 11:45 ` bug#67958: [PATCH 0/7 rust-team] " Efraim Flashner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=8a0ca603af2afb05fa1787a0bcbe1b9eb6882607.1703191511.git.jaeme@runbox.com \
    --to=guix-patches@gnu.org \
    --cc=67958@debbugs.gnu.org \
    --cc=efraim@flashner.co.il \
    --cc=jaeme@runbox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).