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>
This commit is contained in:
John Soo 2019-12-15 09:35:44 -08:00 committed by Efraim Flashner
parent 95c9898db3
commit b3cddd5721
No known key found for this signature in database
GPG Key ID: 41AAE7DCCA3D8351

View File

@ -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")