Subject: [bug#75980] [PATCH rust-team 077/106] gnu: rust-pyo3-0.20: Add cargo-inputs.

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

* gnu/packages/crates-io.scm (rust-pyo3-0.20): Skip doc-tests.  Add
rust-portable-atomic-1.

Change-Id: Ie5443e6e2fc45dfa219c0735b42b411bdf3a721f
---
 gnu/packages/crates-io.scm | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 9b65c576b62..d17c58f1ea1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -58803,7 +58803,8 @@ (define-public rust-pyo3-0.20
        (sha256
         (base32 "0cw2pgab0pq5gd98nhv18xgxvyigygspla6c8mfycmwisjbbpgak"))))
     (arguments
-     `(#:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
+     `(#:cargo-test-flags '("--lib")
+       #:cargo-inputs (("rust-anyhow" ,rust-anyhow-1)
                        ("rust-cfg-if" ,rust-cfg-if-1)
                        ("rust-chrono" ,rust-chrono-0.4)
                        ("rust-either" ,rust-either-1)
@@ -58817,6 +58818,7 @@ (define-public rust-pyo3-0.20
                        ("rust-num-bigint" ,rust-num-bigint-0.4)
                        ("rust-num-complex" ,rust-num-complex-0.4)
                        ("rust-parking-lot" ,rust-parking-lot-0.12)
+                       ("rust-portable-atomic" ,rust-portable-atomic-1)
                        ("rust-pyo3-build-config" ,rust-pyo3-build-config-0.20)
                        ("rust-pyo3-ffi" ,rust-pyo3-ffi-0.20)
                        ("rust-pyo3-macros" ,rust-pyo3-macros-0.20)
-- 
2.47.1