aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2024-05-21 20:22:49 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-07-19 00:47:05 +0300
commit11488c589d001ce6569c5e610f84cf2d388993c8 (patch)
tree59e81b2d6e54d20c8ab63869b698229e2edf4e7d /gnu
parentf5e299be4d85d718c2c44a73da1fc5a2536e49b6 (diff)
downloadguix-11488c589d001ce6569c5e610f84cf2d388993c8.tar
guix-11488c589d001ce6569c5e610f84cf2d388993c8.tar.gz
gnu: Add rust-hyper-tls-0.6.
* gnu/packages/crates-web.scm (rust-hyper-tls-0.6): New variable. (rust-hyper-tls-0.5): Inherit from above. Change-Id: I2bf346c71bf4785b287aa91aab91f3575ba42e1c
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-web.scm42
1 files changed, 35 insertions, 7 deletions
diff --git a/gnu/packages/crates-web.scm b/gnu/packages/crates-web.scm
index 52b5d1cef3..c526f2f74e 100644
--- a/gnu/packages/crates-web.scm
+++ b/gnu/packages/crates-web.scm
@@ -3913,32 +3913,60 @@ dependencies.")
to be used with Hyper client.")
(license (list license:expat license:asl2.0))))
-(define-public rust-hyper-tls-0.5
+(define-public rust-hyper-tls-0.6
(package
(name "rust-hyper-tls")
- (version "0.5.0")
+ (version "0.6.0")
(source
(origin
(method url-fetch)
(uri (crate-uri "hyper-tls" version))
(file-name (string-append name "-" version ".tar.gz"))
(sha256
- (base32 "01crgy13102iagakf6q4mb75dprzr7ps1gj0l5hxm1cvm7gks66n"))))
+ (base32 "1q36x2yps6hhvxq5r7mc8ph9zz6xlb573gx0x3yskb0fi736y83h"))))
(build-system cargo-build-system)
(arguments
- `(#:skip-build? #t
- #:cargo-inputs
+ `(#:cargo-inputs
(("rust-bytes" ,rust-bytes-1)
- ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-http-body-util" ,rust-http-body-util-0.1)
+ ("rust-hyper" ,rust-hyper-1)
+ ("rust-hyper-util" ,rust-hyper-util-0.1)
("rust-native-tls" ,rust-native-tls-0.2)
("rust-tokio" ,rust-tokio-1)
- ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3))))
+ ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3)
+ ("rust-tower-service" ,rust-tower-service-0.3))
+ #:cargo-development-inputs
+ (("rust-hyper-util" ,rust-hyper-util-0.1)
+ ("rust-tokio" ,rust-tokio-1))))
+ (native-inputs (list pkg-config))
+ (inputs (list openssl))
(home-page "https://hyper.rs")
(synopsis "Default TLS implementation for use with hyper")
(description "This package provides the default TLS implementation for use
with hyper.")
(license (list license:expat license:asl2.0))))
+(define-public rust-hyper-tls-0.5
+ (package
+ (inherit rust-hyper-tls-0.6)
+ (name "rust-hyper-tls")
+ (version "0.5.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "hyper-tls" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "01crgy13102iagakf6q4mb75dprzr7ps1gj0l5hxm1cvm7gks66n"))))
+ (arguments
+ `(#:skip-build? #t
+ #:cargo-inputs
+ (("rust-bytes" ,rust-bytes-1)
+ ("rust-hyper" ,rust-hyper-0.14)
+ ("rust-native-tls" ,rust-native-tls-0.2)
+ ("rust-tokio" ,rust-tokio-1)
+ ("rust-tokio-native-tls" ,rust-tokio-native-tls-0.3))))))
+
(define-public rust-hyper-tls-0.4
(package
(inherit rust-hyper-tls-0.5)