Subject: [bug#74551] [PATCH rust-team v3 69/73] gnu: rust-which-7: Add v7.0.0

From: Aaron Covrig <[email-masked]>
Date: Mon, 2 Dec 2024 22:00:49 -0500

* gnu/packages/crates-io.scm (rust-which-7): New variable
---
 gnu/packages/crates-io.scm | 36 +++++++++++++++++++++++++++++-------
 1 file changed, 29 insertions(+), 7 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 74fca8942a..aae9b1d4dd 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -95438,29 +95438,28 @@ (define-public rust-wezterm-input-types-0.1
     (description "Input types for wezterm.")
     (license license:expat)))
 
-(define-public rust-which-6
+(define-public rust-which-7
   (package
     (name "rust-which")
-    (version "6.0.3")
+    (version "7.0.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "which" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "07yg74dsq644hq5a35546c9mja6rsjdsg92rykr9hkflxf7r5vml"))))
+        (base32 "0swcnfhsbpzaakfq6l6madmdshvk3mj1lwrqdswlcwyyk8kx7jn9"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:cargo-test-flags '("--" "--skip=it_works") ; Missing file
+     `(#:cargo-test-flags '("--" "--skip=it_works")
        #:cargo-inputs (("rust-either" ,rust-either-1)
                        ("rust-home" ,rust-home-0.5)
-                       ("rust-once-cell" ,rust-once-cell-1)
                        ("rust-regex" ,rust-regex-1)
                        ("rust-rustix" ,rust-rustix-0.38)
-                       ("rust-windows-sys" ,rust-windows-sys-0.52)
+		       ("rust-tracing" ,rust-tracing-0.1)
                        ("rust-winsafe" ,rust-winsafe-0.0.19))
        #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3))))
-    (home-page "https://github.com/harryfei/which-rs.git")
+    (home-page "https://github.com/harryfei/which-rs")
     (synopsis "Rust equivalent of @command{which}")
     (description
      "This package provides a cross-platform Rust equivalent of the
@@ -95468,6 +95467,29 @@ (define-public rust-which-6
 executable.")
     (license license:expat)))
 
+(define-public rust-which-6
+  (package
+    (inherit rust-which-7)
+    (name "rust-which")
+    (version "6.0.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "which" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "07yg74dsq644hq5a35546c9mja6rsjdsg92rykr9hkflxf7r5vml"))))
+    (arguments
+     `(#:cargo-test-flags '("--" "--skip=it_works") ; Missing file
+       #:cargo-inputs (("rust-either" ,rust-either-1)
+                       ("rust-home" ,rust-home-0.5)
+                       ("rust-once-cell" ,rust-once-cell-1)
+                       ("rust-regex" ,rust-regex-1)
+                       ("rust-rustix" ,rust-rustix-0.38)
+                       ("rust-windows-sys" ,rust-windows-sys-0.52)
+                       ("rust-winsafe" ,rust-winsafe-0.0.19))
+       #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3))))))
+
 (define-public rust-which-5
   (package
     (inherit rust-which-6)
-- 
2.47.0