guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

129/308: gnu: Add rust-which-7.


From: guix-commits
Subject: 129/308: gnu: Add rust-which-7.
Date: Wed, 4 Dec 2024 16:20:55 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 40b5b9ab670dc8767625360dcfacb65c05c61028
Author: Aaron Covrig <aaron.covrig.us@ieee.org>
AuthorDate: Mon Dec 2 22:00:49 2024 -0500

    gnu: Add rust-which-7.
    
    * gnu/packages/crates-io.scm (rust-which-7): New variable.
    (rust-which-6): Inherit from rust-which-7.
    
    Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
    Change-Id: I372c6beb0fc642616f08bc6fc66f88edcca06bad
---
 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 cbad16f2a0..6bba05d037 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -95711,29 +95711,28 @@ json-like data values.")
     (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 '("--release" "--" "--skip=it_works") ; Missing file
+     `(#:cargo-test-flags '("--release" "--" "--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
@@ -95741,6 +95740,29 @@ Unix @command{which} command.  It returns the full 
path of an installed
 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 '("--release" "--" "--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)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]