Subject: [PATCH rust-team 042/106] gnu: rust-strum-0.25: Test.

From: Herman Rimm <[email-masked]>
Date: Fri, 31 Jan 2025 22:10:03 +0100

* gnu/packages/crates-io.scm (rust-strum-0.25)[source]: Do not specify
readme.  [arguments]: Skip three tests.

Change-Id: I675431bde06bec4f8d09cf8f52ac4881e3da663b
---
 gnu/packages/crates-io.scm | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9b89638e14b..7191dab93bd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76256,9 +76256,15 @@ (define-public rust-strum-0.25
        (uri (crate-uri "strum" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "09g1q55ms8vax1z0mxlbva3vm8n2r1179kfvbccnkjcidzm58399"))))
+        (base32 "09g1q55ms8vax1z0mxlbva3vm8n2r1179kfvbccnkjcidzm58399"))
+       (modules '((guix build utils)))
+       (snippet #~(substitute* "Cargo.toml"
+                    (("readme =.*") "")))))
     (arguments
-     `(#:tests? #f  ; unresolved import `strum::EnumIter`
+     `(#:cargo-test-flags '("--"
+                            "--skip=EnumMessage"
+                            "--skip=EnumProperty"
+                            "--skip=IntoEnumIterator")
        #:cargo-inputs (("rust-phf" ,rust-phf-0.10)
                        ("rust-strum-macros" ,rust-strum-macros-0.25))
        #:cargo-development-inputs (("rust-strum-macros" ,rust-strum-macros-0.25))))))
-- 
2.47.1