Subject: [PATCH 4/6] gnu: rust-redox-users: Add version 0.5

From: Daniel Ziltener <[email-masked]>
Date: Fri, 4 Apr 2025 03:13:34 +0200

---
 gnu/packages/crates-io.scm | 38 +++++++++++++++++++++++++++++---------
 1 file changed, 29 insertions(+), 9 deletions(-)

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)
-- 
2.49.0