diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-04 15:00:09 +0100 |
---|---|---|
committer | Leo Famulari <leo@famulari.name> | 2021-12-28 14:10:08 -0500 |
commit | e9c4c7278cc299a7f66f4fbd8e90b85709b9871b (patch) | |
tree | 3eab4cff3150be851fb41232a1d582b075d1b24d /gnu/packages | |
parent | e3c4cfa322094c8535b4686e0c46793633528fa3 (diff) | |
download | guix-e9c4c7278cc299a7f66f4fbd8e90b85709b9871b.tar.gz |
gnu: Add rust-tokio-io-timeout-1.
* gnu/packages/crates-io.scm (rust-tokio-io-timeout-1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/crates-io.scm | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7d740023e8..42ad895e5c 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -56247,6 +56247,30 @@ the current thread.") futures efficiently") (license (list license:asl2.0 license:expat)))) +(define-public rust-tokio-io-timeout-1 + (package + (name "rust-tokio-io-timeout") + (version "1.1.1") + (source + (origin + (method url-fetch) + (uri (crate-uri "tokio-io-timeout" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "1s9dlkzsn0yng98zdmkddjx11jwawkxk3pbi8laxwh72dc89zi4h")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-pin-project-lite" ,rust-pin-project-lite-0.2) + ("rust-tokio" ,rust-tokio-1)))) + (home-page "https://github.com/sfackler/tokio-io-timeout") + (synopsis "Tokio wrappers which apply timeouts to IO operations") + (description + "This package provides Tokio wrappers which apply timeouts to IO +operations.") + (license (list license:expat license:asl2.0)))) + (define-public rust-tokio-macros-1 (package (name "rust-tokio-macros") |