mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-28 07:12:30 -05:00
gnu: Add rust-ping-0.4.
* gnu/packages/crates-io.scm (rust-ping-0.4): New variable.
This commit is contained in:
parent
32986f4fac
commit
1d944f346c
1 changed files with 23 additions and 0 deletions
|
@ -46873,6 +46873,29 @@ (define-public rust-pin-project-1
|
|||
"This package provides a crate for safe and ergonomic pin-projection.")
|
||||
(license (list license:asl2.0 license:expat))))
|
||||
|
||||
(define-public rust-ping-0.4
|
||||
(package
|
||||
(name "rust-ping")
|
||||
(version "0.4.1")
|
||||
(source (origin
|
||||
(method url-fetch)
|
||||
(uri (crate-uri "ping" version))
|
||||
(file-name (string-append name "-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"0h8iyphd5c6k609635ja813isyplnzrlz8hgp0pfrb2v39xahw33"))))
|
||||
(build-system cargo-build-system)
|
||||
(arguments
|
||||
`(#:tests? #f ; Tests require network access.
|
||||
#:cargo-inputs
|
||||
(("rust-rand" ,rust-rand-0.8)
|
||||
("rust-socket2" ,rust-socket2-0.4)
|
||||
("rust-thiserror" ,rust-thiserror-1))))
|
||||
(home-page "https://github.com/aisk/ping")
|
||||
(synopsis "ICMP library for Rust")
|
||||
(description "This package provides an ICMP library for Rust.")
|
||||
(license license:expat)))
|
||||
|
||||
(define-public rust-pin-project-0.4
|
||||
(package
|
||||
(inherit rust-pin-project-1)
|
||||
|
|
Loading…
Reference in a new issue