Subject: [bug#77519] [PATCH 6/6] gnu: rust-directories: Add version 6.

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

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 675bd9ce59..a69080f83b 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21034,23 +21034,21 @@ (define-public rust-dircpy-0.3
     (description "Copy directories recursively with flexible options.")
     (license license:expat)))
 
-(define-public rust-directories-5
+(define-public rust-directories-6
   (package
     (name "rust-directories")
-    (version "5.0.1")
+    (version "6.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "directories" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0dba6xzk79s1clqzxh2qlgzk3lmvvks1lzzjhhi3hd70hhxifjcs"))))
+        (base32 "0zgy2w088v8w865c11dmc3dih899fgrhvrfp7g83h6v6ai60kx8n"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-dirs-sys" ,rust-dirs-sys-0.4))
-       #:cargo-development-inputs
-       (("rust-bencher" ,rust-bencher-0.1))))
+     `(#:cargo-inputs (("rust-dirs-sys" ,rust-dirs-sys-0.5))
+       #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1))))
     (home-page "https://github.com/dirs-dev/directories-rs")
     (synopsis "Library for standard locations of data directories")
     (description
@@ -21062,6 +21060,23 @@ (define-public rust-directories-5
 Directory guidelines on macOS.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-directories-5
+  (package
+    (inherit rust-directories-6)
+    (name "rust-directories")
+    (version "5.0.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "directories" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0dba6xzk79s1clqzxh2qlgzk3lmvvks1lzzjhhi3hd70hhxifjcs"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-dirs-sys" ,rust-dirs-sys-0.4))
+       #:cargo-development-inputs (("rust-bencher" ,rust-bencher-0.1))))))
+
 (define-public rust-directories-4
   (package
     (inherit rust-directories-5)
-- 
2.49.0