me
/
guix
Archived
1
0
Fork 0

gnu: Add rust-which-4.

* gnu/packages/crates-io.scm (rust-which-4): New variable.
(rust-which-3):
(rust-which-2): Inherit from above.
master
Nicolas Goaziou 2021-02-09 23:19:40 +01:00
parent ddc6cbeef5
commit 7afd13f9e7
No known key found for this signature in database
GPG Key ID: DA00B4F048E92F2D
1 changed files with 28 additions and 16 deletions

View File

@ -43476,8 +43476,33 @@ with webpki.")
using @code{bindgen}.") using @code{bindgen}.")
(license license:mpl2.0))) (license license:mpl2.0)))
(define-public rust-which-4
(package
(name "rust-which")
(version "4.0.2")
(source
(origin
(method url-fetch)
(uri (crate-uri "which" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "1vqih4glz0kh3p08bl8mdzk4c02195ws7v6mfpyfrf5qw7vlxhc7"))))
(build-system cargo-build-system)
(arguments
`(#:skip-build? #t
#:cargo-inputs
(("rust-libc" ,rust-libc-0.2)
("rust-thiserror" ,rust-thiserror-1))))
(home-page "https://github.com/harryfei/which-rs.git")
(synopsis "Rust equivalent of Unix command @command{which}")
(description
"This package provides a Rust equivalent of Unix command @command{which}.
It locates installed executable in cross platforms.")
(license license:expat)))
(define-public rust-which-3 (define-public rust-which-3
(package (package
(inherit rust-which-4)
(name "rust-which") (name "rust-which")
(version "3.1.1") (version "3.1.1")
(source (source
@ -43489,21 +43514,15 @@ using @code{bindgen}.")
(sha256 (sha256
(base32 (base32
"094pw9pi48szshn9ln69z2kg7syq1jp80h5ps1qncbsaw4d0f4fh")))) "094pw9pi48szshn9ln69z2kg7syq1jp80h5ps1qncbsaw4d0f4fh"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs #:cargo-inputs
(("rust-failure" ,rust-failure-0.1) (("rust-failure" ,rust-failure-0.1)
("rust-libc" ,rust-libc-0.2)))) ("rust-libc" ,rust-libc-0.2))))))
(home-page "https://github.com/harryfei/which-rs.git")
(synopsis "Rust equivalent of Unix command \"which\"")
(description
"This package provides a Rust equivalent of Unix command \"which\". Locate
installed executable in cross platforms.")
(license license:expat)))
(define-public rust-which-2 (define-public rust-which-2
(package (package
(inherit rust-which-4)
(name "rust-which") (name "rust-which")
(version "2.0.1") (version "2.0.1")
(source (source
@ -43515,20 +43534,13 @@ installed executable in cross platforms.")
(sha256 (sha256
(base32 (base32
"0r7i793sc0xqnd2fxnqbksj7j1kx65bwn81b8z49750v4c8cnymm")))) "0r7i793sc0xqnd2fxnqbksj7j1kx65bwn81b8z49750v4c8cnymm"))))
(build-system cargo-build-system)
(arguments (arguments
`(#:skip-build? #t `(#:skip-build? #t
#:cargo-inputs #:cargo-inputs
(("rust-failure" ,rust-failure-0.1) (("rust-failure" ,rust-failure-0.1)
("rust-libc" ,rust-libc-0.2)) ("rust-libc" ,rust-libc-0.2))
#:cargo-development-inputs #:cargo-development-inputs
(("rust-tempdir" ,rust-tempdir-0.3)))) (("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 executable in cross platforms.")
(license license:expat)))
(define-public rust-which-1 (define-public rust-which-1
(package (package