aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-12-04 15:17:41 +0100
committerLeo Famulari <leo@famulari.name>2021-12-28 14:10:08 -0500
commit4fc4f94706f5a9eabf995998aacf53a5e454d53c (patch)
tree95e8f97d5dd9b661fd5d16c1e2db6e17bdcc6247
parente9c4c7278cc299a7f66f4fbd8e90b85709b9871b (diff)
downloadguix-4fc4f94706f5a9eabf995998aacf53a5e454d53c.tar
guix-4fc4f94706f5a9eabf995998aacf53a5e454d53c.tar.gz
gnu: Add rust-hyper-timeout-0.4.
* gnu/packages/crates-io.scm (rust-hyper-timeout-0.4): New variable.
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 42ad895e5c..d504882569 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -24212,6 +24212,32 @@ SystemTime}}.")
"This package provides glue code for Rustls and synchronous Hyper.")
(license (list license:expat license:asl2.0))))
+(define-public rust-hyper-timeout-0.4
+ (package
+ (name "rust-hyper-timeout")
+ (version "0.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hyper-timeout" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "1c8k3g8k2yh1gxvsx9p7amkimgxhl9kafwpj7jyf8ywc5r45ifdv"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-hyper" ,rust-hyper-0.14)
+ ("rust-pin-project-lite" ,rust-pin-project-lite-0.2)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-io-timeout" ,rust-tokio-io-timeout-1))))
+ (home-page "https://github.com/hjr3/hyper-timeout")
+ (synopsis "Connect, read and write timeout aware connector for Hyper")
+ (description
+ "This package provides a connect, read and write timeout aware connector
+to be used with Hyper client.")
+ (license (list license:expat license:asl2.0))))
+
(define-public rust-hyper-tls-0.5
(package
(name "rust-hyper-tls")