Subject: [PATCH rust-team 046/106] gnu: rust-strum-0.19: Fix build.

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

* gnu/packages/crates-io.scm (rust-strum-0.19)[source]: Inherit
rust-strum-0.20 source.
[arguments]: Add rust-strum-macros-0.19 to cargo-development-inputs.

Change-Id: I00b68f6eed7457987e271f9b67401e6014bb9533
---
 gnu/packages/crates-io.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7e8b4d2d719..d8f54f20c7c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -76339,15 +76339,20 @@ (define-public rust-strum-0.19
     (version "0.19.5")
     (source
      (origin
-       (method url-fetch)
+       (inherit (package-source rust-strum-0.20))
        (uri (crate-uri "strum" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "1d8i5xwkc2z7z02ibln80z1bmpjhpi9k5ckpljwj0mrvgrm2i6mq"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:tests? #f
+     `(#:cargo-test-flags '("--"
+                            "--skip=EnumMessage"
+                            "--skip=EnumProperty"
+                            "--skip=IntoEnumIterator")
        #:cargo-inputs
+       (("rust-strum-macros" ,rust-strum-macros-0.19))
+       #:cargo-development-inputs
        (("rust-strum-macros" ,rust-strum-macros-0.19))))))
 
 (define-public rust-strum-0.18
-- 
2.47.1