diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-04 15:00:09 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2021-12-27 19:52:47 +0100 |
commit | cc07b530f35400e1315cfbd2053bee1190f826bd (patch) | |
tree | 719573e03dfc63557fdf475f6413d49057721491 | |
parent | 4df777657ee47503d79e62debd8a84ca67c95fa3 (diff) | |
download | guix-cc07b530f35400e1315cfbd2053bee1190f826bd.tar.gz |
gnu: Add rust-tokio-io-timeout-1.
* gnu/packages/crates-io.scm (rust-tokio-io-timeout-1): New variable.
-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") |