[bug#77517,5/6] gnu: rust-dirs-sys: Add version 0.5.

Message ID 20250404011528.17034-5-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 | 46 ++++++++++++++++++++++++++------------
 1 file changed, 32 insertions(+), 14 deletions(-)
  

Patch

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 3360a7c0a1..675bd9ce59 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -21254,24 +21254,23 @@  (define-public rust-dirs-next-1
     (home-page "https://github.com/xdg-rs/dirs")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-dirs-sys-0.4
+(define-public rust-dirs-sys-0.5
   (package
     (name "rust-dirs-sys")
-    (version "0.4.1")
-    (source (origin
-              (method url-fetch)
-              (uri (crate-uri "dirs-sys" version))
-              (file-name (string-append name "-" version ".tar.gz"))
-              (sha256
-               (base32
-                "071jy0pvaad9lsa6mzawxrh7cmr7hsmsdxwzm7jzldfkrfjha3sj"))))
+    (version "0.5.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "dirs-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1aqzpgq6ampza6v012gm2dppx9k35cdycbj54808ksbys9k366p0"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-inputs
-       (("rust-libc" ,rust-libc-0.2)
-        ("rust-option-ext" ,rust-option-ext-0.2)
-        ("rust-redox-users" ,rust-redox-users-0.4)
-        ("rust-windows-sys" ,rust-windows-sys-0.48))))
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-option-ext" ,rust-option-ext-0.2)
+                       ("rust-redox-users" ,rust-redox-users-0.5)
+                       ("rust-windows-sys" ,rust-windows-sys-0.48))))
     (home-page "https://github.com/dirs-dev/dirs-sys-rs")
     (synopsis
      "System-level helper functions for the dirs and directories crates")
@@ -21280,6 +21279,25 @@  (define-public rust-dirs-sys-0.4
 and @code{directories} crates.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-dirs-sys-0.4
+  (package
+    (inherit rust-dirs-sys-0.5)
+    (name "rust-dirs-sys")
+    (version "0.4.1")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "dirs-sys" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "071jy0pvaad9lsa6mzawxrh7cmr7hsmsdxwzm7jzldfkrfjha3sj"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:cargo-inputs (("rust-libc" ,rust-libc-0.2)
+                       ("rust-option-ext" ,rust-option-ext-0.2)
+                       ("rust-redox-users" ,rust-redox-users-0.4)
+                       ("rust-windows-sys" ,rust-windows-sys-0.48))))))
+
 (define-public rust-dirs-sys-0.3
   (package
     (inherit rust-dirs-sys-0.4)