Subject: [PATCH 18/24]: gnu: just: New package.

From: Jean Pierre De Jesus DIAZ <[email-masked]>
Date: Wed, 20 Jul 2022 12:20:27 +0000

Empty Message

From 807fc3d68325c5711659ca68ceb71e6d070ef34d Mon Sep 17 00:00:00 2001
From: Jean-Pierre De Jesus DIAZ <[email-masked]>
Date: Mon, 18 Jul 2022 01:04:00 +0200
Subject: [PATCH 18/24] gnu: rust-strum-macros-0.24: New package.

* gnu/packages/crates-io.scm (rust-strum-macros-0.24): New variable.
* gnu/packages/crates-io.scm (rust-strum-macros-0.21)[inherit]: Inherit
  `rust-strum-macros-0.24'.
---
 gnu/packages/crates-io.scm | 37 ++++++++++++++++++++++++++++++-------
 1 file changed, 30 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index cf01a8d691..e57142e798 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -59775,8 +59775,37 @@ (define-public rust-strum-0.18
      `(#:cargo-inputs
        (("rust-strum-macros" ,rust-strum-macros-0.18))))))
 
+(define-public rust-strum-macros-0.24
+  (package
+    (name "rust-strum-macros")
+    (version "0.24.2")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "strum_macros" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "12wig3cx2l9hj50jb4ly1p9pgfnj9w2zj00qq0b47ycg1vhbvbjg"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(;; circular strum dev-dependency, remove this once rust-strum-0.24 is
+       ;; added.
+       #:skip-build? #t 
+       #: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-1))))
+    (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.21
   (package
+    (inherit rust-strum-macros-0.24)
     (name "rust-strum-macros")
     (version "0.21.1")
     (source
@@ -59786,19 +59815,13 @@ (define-public rust-strum-macros-0.21
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1v55b1in7dn07s6vxr8dajqpvxkxjbfq6qamnjgcbnq9x3pawsnh"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-heck" ,rust-heck-0.3)
         ("rust-proc-macro2" ,rust-proc-macro2-1)
         ("rust-quote" ,rust-quote-1)
-        ("rust-syn" ,rust-syn-1))))
-    (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-syn" ,rust-syn-1))))))
 
 (define-public rust-strum-macros-0.20
   (package
-- 
2.36.1