From fbf6cfb8b4f4206bd981e9791034b2089a175bb8 Mon Sep 17 00:00:00 2001 From: John Soo Date: Sun, 15 Dec 2019 09:35:44 -0800 Subject: [PATCH 182/206] gnu: Add rust-which-2.0. * gnu/packages/crates-io.scm (rust-which-2.0): New variable. --- gnu/packages/crates-io.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 435888c15a..e24a39cd86 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -9621,6 +9621,35 @@ 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 + ;; `(#:cargo-inputs + ;; (("rust-failure" ,rust-failure-0.1) + ;; ("rust-libc" ,rust-libc-0.2.58)) + ;; #: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") -- 2.24.0