[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#69890] [PATCH 04/43] gnu: Add rust-which-6.
From: |
normalmente |
Subject: |
[bug#69890] [PATCH 04/43] gnu: Add rust-which-6. |
Date: |
Tue, 19 Mar 2024 03:50:35 +0000 |
* gnu/packages/crates-io.scm (rust-which-6): New variable.
Change-Id: Ib45002331c9ab06ed2d4584028ad9254cce99208
---
gnu/packages/crates-io.scm | 46 ++++++++++++++++++++++++++++++--------
1 file changed, 37 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index a50417eb89..f70e756037 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -78498,8 +78498,43 @@ (define-public rust-wepoll-sys-stjepang-1
using @code{bindgen}.")
(license license:mpl2.0)))
+(define-public rust-which-6
+ (package
+ (name "rust-which")
+ (version "6.0.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "which" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "070hbvl3hjxywychmz7nj5gbsprdm38rir3kqnm48zzp1g0y19bz"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-test-flags
+ '("--release" "--"
+ ;; Not all files included.
+ "--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))
+ #:cargo-development-inputs
+ (("rust-tempfile" ,rust-tempfile-3))))
+ (home-page "https://github.com/harryfei/which-rs.git")
+ (synopsis "Rust equivalent of @command{which}")
+ (description
+ "This package provides a cross-platform Rust equivalent of the
+Unix @command{which} command. It returns the full path of an installed
+executable.")
+ (license license:expat)))
+
(define-public rust-which-5
(package
+ (inherit rust-which-6)
(name "rust-which")
(version "5.0.0")
(source
@@ -78514,7 +78549,6 @@ (define-public rust-which-5
'(begin (substitute* "Cargo.toml"
(("\"= *([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
(string-append "\"^" version)))))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
@@ -78526,14 +78560,8 @@ (define-public rust-which-5
("rust-regex" ,rust-regex-1)
("rust-rustix" ,rust-rustix-0.38)
("rust-windows-sys" ,rust-windows-sys-0.48))
- #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3))))
- (home-page "https://github.com/harryfei/which-rs.git")
- (synopsis "Rust equivalent of @command{which}")
- (description
- "This package provides a cross-platform Rust equivalent of the
-Unix @command{which} command. It returns the full path of an installed
-executable.")
- (license license:expat)))
+ #:cargo-development-inputs (("rust-tempfile" ,rust-tempfile-3))))))
+
(define-public rust-which-4
(package
--
2.41.0
- [bug#69890] [PATCH 11/43] gnu: Add rust-procinfo-0.4., (continued)
- [bug#69890] [PATCH 11/43] gnu: Add rust-procinfo-0.4., normalmente, 2024/03/18
- [bug#69890] [PATCH 37/43] gnu: Add rust-figment-0.10., normalmente, 2024/03/18
- [bug#69890] [PATCH 38/43] gnu: Add rust-rocket-0.5., normalmente, 2024/03/18
- [bug#69890] [PATCH 39/43] gnu: Add rust-byte-unit-5., normalmente, 2024/03/18
- [bug#69890] [PATCH 42/43] gnu: Add rust-bsd-kvm-0.1., normalmente, 2024/03/18
- [bug#69890] [PATCH 40/43] gnu: Add rust-bindgen-0.65., normalmente, 2024/03/18
- [bug#69890] [PATCH 03/43] gnu: rust-home-0.5: Update to 0.5.9., normalmente, 2024/03/18
- [bug#69890] [PATCH 41/43] gnu: Add rust-bsd-kvm-sys-0.2., normalmente, 2024/03/18
- [bug#69890] [PATCH 13/43] gnu: Add rust-procfs-0.16., normalmente, 2024/03/19
- [bug#69890] [PATCH 20/43] gnu: rust-reqwest-0.11: Update to 0.11.26., normalmente, 2024/03/19
- [bug#69890] [PATCH 04/43] gnu: Add rust-which-6.,
normalmente <=
- [bug#69890] [PATCH 19/43] gnu: Add rust-wasm-streams-0.4., normalmente, 2024/03/19
- [bug#69890] [PATCH 22/43] gnu: Add rust-hyperlocal-0.8., normalmente, 2024/03/19
- [bug#69890] [PATCH 06/43] gnu: rust-tokio-1: Update to 1.36.0., normalmente, 2024/03/19
- [bug#69890] [PATCH 08/43] gnu: Add rust-nix-0.28., normalmente, 2024/03/19
- [bug#69890] [PATCH 12/43] gnu: Add rust-procfs-core-0.16., normalmente, 2024/03/19
- [bug#69890] [PATCH v2REVISION 43/43] gnu: Add procs., normalmente, 2024/03/20