summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-08-02 20:14:18 +0300
committerEfraim Flashner <efraim@flashner.co.il>2023-08-14 19:38:21 +0300
commit1d944f346ccaa688e6caf165ad236bf2b8842f46 (patch)
tree4363031098620a67a09a884e3dc3ccefadc78ac0
parent32986f4faca2449d0be0e0f5d407694246e77686 (diff)
gnu: Add rust-ping-0.4.
* gnu/packages/crates-io.scm (rust-ping-0.4): New variable.
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 6d0fca8bd1..df05d36f98 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -46873,6 +46873,29 @@ function data structures.")
"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)