diff options
author | Arun Isaac <arunisaac@systemreboot.net> | 2020-09-21 11:09:48 +0530 |
---|---|---|
committer | Arun Isaac <arunisaac@systemreboot.net> | 2020-10-12 11:42:06 +0530 |
commit | 1563dee3d837ab53afea6383188d1983161cf4d3 (patch) | |
tree | e13e399b2382075a60ee65b12a293cc870bb2e12 | |
parent | 1abd699e7fae4d4f7476d658955d2a46e09604ec (diff) | |
download | guix-1563dee3d837ab53afea6383188d1983161cf4d3.tar guix-1563dee3d837ab53afea6383188d1983161cf4d3.tar.gz |
gnu: Add rust-hyper-tls-0.4.
* gnu/packages/crates-io.scm (rust-hyper-tls-0.4): New variable.
(rust-hyper-tls-0.3): Inherit from rust-hyper-tls-0.4.
-rw-r--r-- | gnu/packages/crates-io.scm | 40 |
1 files changed, 32 insertions, 8 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 7e5d30b9b5..592137ee59 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -11600,17 +11600,18 @@ SystemTime}}.") ("rust-tokio-mockstream" ,rust-tokio-mockstream-1) ("rust-url" ,rust-url-1)))))) -(define-public rust-hyper-tls-0.3 +(define-public rust-hyper-tls-0.4 (package (name "rust-hyper-tls") - (version "0.3.2") + (version "0.4.3") (source (origin (method url-fetch) (uri (crate-uri "hyper-tls" version)) (file-name (string-append name "-" version ".tar.gz")) (sha256 - (base32 "0kqp4sz8613j6nv375wfj3gh95ff4nb6a3rb1f2vbx0almm0v01s")))) + (base32 + "1vcfyz7dxavf4brns15afmj5fxz88lbn05rrpbfqsnybdp2sqyfr")))) (build-system cargo-build-system) (native-inputs `(("pkg-config" ,pkg-config))) @@ -11618,17 +11619,40 @@ SystemTime}}.") `(("openssl" ,openssl))) (arguments `(#:cargo-inputs + (("rust-bytes" ,rust-bytes-0.5) + ("rust-hyper" ,rust-hyper-0.13) + ("rust-native-tls" ,rust-native-tls-0.2) + ("rust-tokio" ,rust-tokio-0.2) + ("rust-tokio-tls" ,rust-tokio-tls-0.3)) + #:cargo-development-inputs + (("rust-tokio" ,rust-tokio-0.2)))) + (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.3 + (package + (inherit rust-hyper-tls-0.4) + (name "rust-hyper-tls") + (version "0.3.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "hyper-tls" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "0kqp4sz8613j6nv375wfj3gh95ff4nb6a3rb1f2vbx0almm0v01s")))) + (arguments + `(#:cargo-inputs (("rust-bytes" ,rust-bytes-0.4) ("rust-futures" ,rust-futures-0.1) ("rust-hyper" ,rust-hyper-0.12) ("rust-native-tls" ,rust-native-tls-0.2) ("rust-tokio-io" ,rust-tokio-io-0.1)) #:cargo-development-inputs - (("rust-tokio" ,rust-tokio-0.1)))) - (home-page "https://hyper.rs") - (synopsis "Default TLS implementation for use with hyper") - (description "Default TLS implementation for use with hyper") - (license (list license:expat license:asl2.0)))) + (("rust-tokio" ,rust-tokio-0.1)))))) (define-public rust-ident-case-1 (package |