Subject: [PATCH rust-team 5/8] gnu: Add rust-strum-0.27.

From: Andrew Wong <[email-masked]>
Date: Mon, 24 Feb 2025 20:04:30 -0500

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 658201c2e0..971de36822 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -77614,6 +77614,28 @@ (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.27
+  (package
+    (name "rust-strum")
+    (version "0.27.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "strum" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cic9r2sc2h17nnpjm2yfp7rsd35gkbcbqvrhl553jaiih4fykgn"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs (("rust-phf" ,rust-phf-0.11)
+                       ("rust-strum-macros" ,rust-strum-macros-0.27))))
+    (home-page "https://github.com/Peternator7/strum")
+    (synopsis "Helpful macros for working with enums and strings")
+    (description
+     "This package provides Helpful macros for working with enums and strings.")
+    (license license:expat)))
+
 (define-public rust-strum-0.26
   (package
     (name "rust-strum")
-- 
2.48.1