[bug#77516,4/6] gnu: rust-redox-users: Add version 0.5

Message ID 20250404011528.17034-4-dziltener@lyrion.ch
State New
Headers
Series [bug#77514,1/6] gnu: rust-bytemuck-derive-1: Update to 1.9.3. |

Commit Message

Daniel Ziltener April 4, 2025, 1:13 a.m. UTC
  ---
 gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++---------
 1 file changed, 29 insertions(+), 9 deletions(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 52804702d6..3360a7c0a1 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63573,25 +63573,25 @@  (define-public rust-redox-termios-0.1
      "This package provides a Rust library to access Redox termios functions.")
     (license license:expat)))
 
-(define-public rust-redox-users-0.4
+(define-public rust-redox-users-0.5
   (package
     (name "rust-redox-users")
-    (version "0.4.5")
+    (version "0.5.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "redox_users" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1498qyfyc2k3ih5aaffddvbhzi36na8iqg54hcm4pnpfa6b3sa5x"))))
+        (base32 "0awxx66izdw6kz97r3zxrl5ms5f6dqi5l0f58mlsvlmx8wyrsvyx"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-getrandom" ,rust-getrandom-0.2)
-        ("rust-libredox" ,rust-libredox-0.1)
-        ("rust-rust-argon2" ,rust-rust-argon2-0.8)
-        ("rust-thiserror" ,rust-thiserror-1)
-        ("rust-zeroize" ,rust-zeroize-1))))
+     `(#:parallel-tests? #f
+       #:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.2)
+                       ("rust-libredox" ,rust-libredox-0.1)
+                       ("rust-rust-argon2" ,rust-rust-argon2-0.8)
+                       ("rust-thiserror" ,rust-thiserror-2)
+                       ("rust-zeroize" ,rust-zeroize-1))))
     (home-page "https://gitlab.redox-os.org/redox-os/users")
     (synopsis "Rust library to access Redox users and groups functionality")
     (description
@@ -63599,6 +63599,26 @@  (define-public rust-redox-users-0.4
 functionality")
     (license license:expat)))
 
+(define-public rust-redox-users-0.4
+  (package
+    (inherit rust-redox-users-0.5)
+    (name "rust-redox-users")
+    (version "0.4.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "redox_users" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1498qyfyc2k3ih5aaffddvbhzi36na8iqg54hcm4pnpfa6b3sa5x"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-getrandom" ,rust-getrandom-0.2)
+                       ("rust-libredox" ,rust-libredox-0.1)
+                       ("rust-rust-argon2" ,rust-rust-argon2-0.8)
+                       ("rust-thiserror" ,rust-thiserror-1)
+                       ("rust-zeroize" ,rust-zeroize-1))))))
+
 (define-public rust-redox-users-0.3
   (package
     (inherit rust-redox-users-0.4)