From: normalmente <normally_js@posteo.net>
To: 69890@debbugs.gnu.org
Cc: normalmente <normally_js@posteo.net>,
Efraim Flashner <efraim@flashner.co.il>
Subject: [bug#69890] [PATCH 04/43] gnu: Add rust-which-6.
Date: Tue, 19 Mar 2024 03:50:35 +0000 [thread overview]
Message-ID: <440ea92d5f450aa18e306519d442685cd380749d.1710817680.git.normally_js@posteo.net> (raw)
In-Reply-To: <cover.1710817679.git.normally_js@posteo.net>
* 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
next prev parent reply other threads:[~2024-03-19 4:26 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-03-19 3:08 [bug#69890] [PATCH rust-team 00/43] gnu: Add procs normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 01/43] gnu: rust-libc-0.2: Update to 0.2.153 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 02/43] gnu: rust-rustix-0.38: Update to 0.38.31 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 03/43] gnu: rust-home-0.5: Update to 0.5.9 normalmente
2024-03-19 3:50 ` normalmente [this message]
2024-03-19 3:50 ` [bug#69890] [PATCH 05/43] gnu: Add rust-mio-aio-0.8 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 06/43] gnu: rust-tokio-1: Update to 1.36.0 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 07/43] gnu: Add rust-termbg-0.5 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 08/43] gnu: Add rust-nix-0.28 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 09/43] gnu: Add rust-minus-5 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 10/43] gnu: Add rust-nom-2 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 11/43] gnu: Add rust-procinfo-0.4 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 12/43] gnu: Add rust-procfs-core-0.16 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 13/43] gnu: Add rust-procfs-0.16 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 14/43] gnu: Add rust-libproc-0.14 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 15/43] gnu: rust-termios-0.3: Update to 0.3.3 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 16/43] gnu: Add rust-getch-0.3 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 17/43] gnu: rust-pin-project-internal-1: Update to 1.1.5 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 18/43] gnu: rust-pin-project-1: " normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 19/43] gnu: Add rust-wasm-streams-0.4 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 20/43] gnu: rust-reqwest-0.11: Update to 0.11.26 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 21/43] gnu: Add rust-named-pipe-0.4 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 22/43] gnu: Add rust-hyperlocal-0.8 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 23/43] gnu: Add rust-dockworker-0.5 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 24/43] gnu: rust-console-0.15: Update to 0.15.8 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 25/43] gnu: Add rust-windows-metadata-0.54 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 26/43] gnu: rust-indexmap-2: Update to 2.2.5 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 27/43] gnu: rust-serde-json-1: Update to 1.0.114 normalmente
2024-03-19 3:50 ` [bug#69890] [PATCH 28/43] gnu: rust-serde-1: Update to 1.0.197 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 29/43] gnu: Add rust-windows-bindgen-0.54 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 30/43] gnu: rust-chrono-0.4: Update to 0.4.35 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 31/43] gnu: Add rust-state-0.6 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 32/43] gnu: Add rust-stable-pattern-0.1 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 33/43] gnu: Add rust-inlinable-string-0.1 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 34/43] gnu: Add rust-pear-0.2 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 35/43] gnu: Add rust-rocket-http-0.5 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 36/43] gnu: Add rust-rocket-codegen-0.5 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 37/43] gnu: Add rust-figment-0.10 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 38/43] gnu: Add rust-rocket-0.5 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 39/43] gnu: Add rust-byte-unit-5 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 40/43] gnu: Add rust-bindgen-0.65 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 41/43] gnu: Add rust-bsd-kvm-sys-0.2 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 42/43] gnu: Add rust-bsd-kvm-0.1 normalmente
2024-03-19 3:51 ` [bug#69890] [PATCH 43/43] gnu: Add procs normalmente
2024-03-20 18:35 ` [bug#69890] [PATCH v2REVISION " normalmente
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=440ea92d5f450aa18e306519d442685cd380749d.1710817680.git.normally_js@posteo.net \
--to=normally_js@posteo.net \
--cc=69890@debbugs.gnu.org \
--cc=efraim@flashner.co.il \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).