summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Soo <jsoo1@asu.edu>2019-12-15 09:35:44 -0800
committerEfraim Flashner <efraim@flashner.co.il>2020-01-02 20:16:45 +0200
commitb3cddd572160bcfd03402d53b69cfe0651d98fe2 (patch)
treed7215db70592cf52c229a3db4e3ef3992782c0b9
parent95c9898db371022fffd423e5c0563f33e1b27017 (diff)
gnu: Add rust-which-2.0.
* gnu/packages/crates-io.scm (rust-which-2.0): New variable. Signed-off-by: Efraim Flashner <efraim@flashner.co.il>
-rw-r--r--gnu/packages/crates-io.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 53e87ec296..d7ee7562a3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -9503,6 +9503,34 @@ attribute that is not in the shared backend crate.")
(license (list license:asl2.0
license:expat))))
+(define-public rust-which-2.0
+ (package
+ (name "rust-which")
+ (version "2.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "which" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "0r7i793sc0xqnd2fxnqbksj7j1kx65bwn81b8z49750v4c8cnymm"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-failure" ,rust-failure-0.1)
+ ("rust-libc" ,rust-libc-0.2))
+ #:cargo-development-inputs
+ (("rust-tempdir" ,rust-tempdir-0.3))))
+ (home-page "https://github.com/harryfei/which-rs")
+ (synopsis "Rust equivalent of Unix command \"which\"")
+ (description
+ "This package provides a Rust equivalent of Unix command \"which\".
+Locate installed execuable in cross platforms.")
+ (license license:expat)))
+
(define-public rust-widestring-0.4
(package
(name "rust-widestring")