Subject: [bug#74743] [PATCH rust-team v2 11/68] gnu: rust-dirs-6: New variable.

From: Aaron Covrig <[email-masked]>
Date: Tue, 18 Mar 2025 21:18:29 -0400

* gnu/packages/crates-io.scm (rust-dirs-6): New variable.

Signed-off-by: Aaron Covrig <[email-masked]>
---
 gnu/packages/crates-io.scm | 25 ++++++++++++++++++++-----
 1 file changed, 20 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 7f917e5dd3..5860af3a59 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21194,27 +21194,42 @@ (define-public rust-directories-next-2
 other data.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-dirs-5
+(define-public rust-dirs-6
   (package
     (name "rust-dirs")
-    (version "5.0.1")
+    (version "6.0.0")
     (source (origin
               (method url-fetch)
               (uri (crate-uri "dirs" version))
               (file-name (string-append name "-" version ".tar.gz"))
               (sha256
                (base32
-                "0992xk5vx75b2x91nw9ssb51mpl8x73j9rxmpi96cryn0ffmmi24"))))
+                "0knfikii29761g22pwfrb8d0nqpbgw77sni9h2224haisyaams63"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs (("rust-dirs-sys" ,rust-dirs-sys-0.4))))
-    (home-page "https://github.com/soc/dirs-rs")
+     `(#:cargo-inputs (("rust-dirs-sys" ,rust-dirs-sys-0.5))))
+    (home-page "https://github.com/dirs-dev/dirs-rs")
     (synopsis "Abstractions for standard locations for various platforms")
     (description
      "This package is a tiny low-level library that provides platform-specific
 standard locations of directories for config, cache and other data.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-dirs-5
+  (package
+    (inherit rust-dirs-6)
+    (name "rust-dirs")
+    (version "5.0.1")
+    (source (origin
+              (method url-fetch)
+              (uri (crate-uri "dirs" version))
+              (file-name (string-append name "-" version ".tar.gz"))
+              (sha256
+               (base32
+                "0992xk5vx75b2x91nw9ssb51mpl8x73j9rxmpi96cryn0ffmmi24"))))
+    (arguments
+     `(#:cargo-inputs (("rust-dirs-sys" ,rust-dirs-sys-0.4))))))
+
 (define-public rust-dirs-4
   (package
     (inherit rust-dirs-5)
-- 
2.48.1