Subject: [PATCH 37/87] gnu: Add rust-strum-0.26.1.

From: VÖRÖSKŐI András <[email-masked]>
Date: Sat, 24 Feb 2024 21:39:35 +0100

* gnu/packages/crates-io.scm (rust-strum-0.26): New variable.

Change-Id: I377c9ba8f0b15bd04457357147c168ea661548d5
---
 gnu/packages/crates-io.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 22b00b1bae..38b6382558 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -65964,6 +65964,31 @@ (define-public rust-struct-patch-derive-0.4
 your structs.")
     (license license:expat)))
 
+(define-public rust-strum-0.26
+  (package
+    (name "rust-strum")
+    (version "0.26.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strum" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0przl5xmy1gzf4rlp8ff7wla43slsyk1vlg2xdjsk6nzmpl96fvj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-test-flags '("--release" "--"
+                            "--skip=EnumMessage"
+                            "--skip=EnumProperty"
+                            "--skip=EnumIterator")
+       #:cargo-inputs (("rust-phf" ,rust-phf-0.10)
+                       ("rust-strum-macros" ,rust-strum-macros-0.26))
+       #:cargo-development-inputs (("rust-strum-macros" ,rust-strum-macros-0.26))))
+    (home-page "https://github.com/Peternator7/strum")
+    (synopsis "Helpful macros for working with enums and strings")
+    (description "Helpful macros for working with enums and strings")
+    (license license:expat)))
+
 (define-public rust-strum-0.25
   (package
     (name "rust-strum")
-- 
2.41.0