[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
77/330: gnu: Add rust-which-6.
From: |
guix-commits |
Subject: |
77/330: gnu: Add rust-which-6. |
Date: |
Mon, 18 Mar 2024 07:15:18 -0400 (EDT) |
efraim pushed a commit to branch rust-team
in repository guix.
commit e299c10ffa9fc4d1f5e9573f50fa061eec8fd254
Author: VÖRÖSKŐI András <voroskoi@gmail.com>
AuthorDate: Sat Feb 24 21:39:51 2024 +0100
gnu: Add rust-which-6.
* gnu/packages/crates-io.scm (rust-which-6): New variable.
(rust-which-5): Inherit from rust-which-6.
Change-Id: I1f82d78022a1bd5cc5f5a018143bdc8c330a45df
Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
---
gnu/packages/crates-io.scm | 41 ++++++++++++++++++++++++++++++++---------
1 file changed, 32 insertions(+), 9 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 2d5dad599a..813f4f54b7 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -79381,8 +79381,39 @@ available on a platform.")
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" "--"
+ "--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
@@ -79397,7 +79428,6 @@ using @code{bindgen}.")
'(begin (substitute* "Cargo.toml"
(("\"= *([[:digit:]]+(\\.[[:digit:]]+)*)" _ version)
(string-append "\"^" version)))))))
- (build-system cargo-build-system)
(arguments
`(#:cargo-test-flags
'("--release" "--"
@@ -79409,14 +79439,7 @@ using @code{bindgen}.")
("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
- 71/330: gnu: Add rust-lscolors-0.17., (continued)
- 71/330: gnu: Add rust-lscolors-0.17., guix-commits, 2024/03/18
- 73/330: gnu: Add rust-windows-implement-0.52., guix-commits, 2024/03/18
- 76/330: gnu: Add rust-sysinfo-0.30., guix-commits, 2024/03/18
- 100/330: gnu: Add rust-apache-avro-test-helper-0.16., guix-commits, 2024/03/18
- 108/330: gnu: Add rust-typewit-proc-macros-1., guix-commits, 2024/03/18
- 149/330: gnu: Add rust-quad-rand-0.2., guix-commits, 2024/03/18
- 151/330: gnu: Add rust-polars-ffi-0.37., guix-commits, 2024/03/18
- 153/330: gnu: Add rust-planus-0.3., guix-commits, 2024/03/18
- 155/330: gnu: Add rust-object-store-0.9., guix-commits, 2024/03/18
- 160/330: gnu: Add rust-hexf-parse-0.1., guix-commits, 2024/03/18
- 77/330: gnu: Add rust-which-6.,
guix-commits <=
- 75/330: gnu: Add rust-windows-0.52., guix-commits, 2024/03/18
- 103/330: gnu: Add rust-odbc-sys-0.21., guix-commits, 2024/03/18
- 97/330: gnu: Add rust-abi-stable-shared-0.11., guix-commits, 2024/03/18
- 98/330: gnu: Add rust-abi-stable-derive-0.11., guix-commits, 2024/03/18
- 86/330: gnu: Add rust-numtoa-0.2., guix-commits, 2024/03/18
- 94/330: gnu: rust-codspeed-2: Update to 2.4.0., guix-commits, 2024/03/18
- 111/330: gnu: Add rust-sqlparser-derive-0.2., guix-commits, 2024/03/18
- 107/330: gnu: Add rust-ethnum-intrinsics-1., guix-commits, 2024/03/18
- 83/330: gnu: rust-md-5-0.10: Update to 0.10.6., guix-commits, 2024/03/18
- 84/330: gnu: rust-streaming-iterator-0.1: Update to 0.1.9., guix-commits, 2024/03/18