Subject: [bug#75980] [PATCH rust-team 061/106] gnu: rust-serde-0.8: Move cargo-development-inputs.

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

* gnu/packages/crates-io.scm (rust-serde-0.8)[source]: Unset Cargo
readme.
[arguments]:  Skip a test.  Move rust-clippy-0.0.302 to cargo-inputs.

Change-Id: Iddf25b0b326953f2f07c08fff3808c2f9b52a47e
---
 gnu/packages/crates-io.scm | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index d3ed19e0571..44ae440715d 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -69624,11 +69624,14 @@ (define-public rust-serde-0.8
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32
-         "1j4ajipn0sf4ya0crgcb94s848qp7mfc35n6d0q2rf8rk5skzbcx"))))
+         "1j4ajipn0sf4ya0crgcb94s848qp7mfc35n6d0q2rf8rk5skzbcx"))
+       (modules '((guix build utils)))
+       (snippet #~(substitute* "Cargo.toml"
+                    (("readme =.*") "edition = \"2015\"\n")))))
     (arguments
-     `(#:cargo-development-inputs
-       (("rust-clippy" ,rust-clippy-0.0.302))
-       #:tests? #f))))
+     `(#:cargo-inputs (("rust-clippy" ,rust-clippy-0.0.302))
+       #:cargo-test-flags
+       '("--" "--skip=ser::Serializer::serialize_bytes")))))
 
 (define-public rust-serde-aux-4
   (package
-- 
2.47.1