guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

121/137: gnu: Add rust-hyper-rustls-0.24.


From: guix-commits
Subject: 121/137: gnu: Add rust-hyper-rustls-0.24.
Date: Thu, 21 Dec 2023 04:26:44 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 5c2021d2f9d1b04f0343f6a8954c7c3a5fe76957
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Thu Dec 21 09:36:40 2023 +0200

    gnu: Add rust-hyper-rustls-0.24.
    
    * gnu/packages/crates-io.scm (rust-hyper-rustls-0.24): New variable.
    (rust-hyper-rustls-0.23): Inherit from rust-hyper-rustls-0.24.
    
    Change-Id: Ibf27918421fabfa471c2d223727c79a42c4e0cb7
---
 gnu/packages/crates-io.scm | 45 ++++++++++++++++++++++++++++++++++++---------
 1 file changed, 36 insertions(+), 9 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 0f92989a99..54fdadbfa6 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -36653,8 +36653,43 @@ SystemTime}}.")
     (description "Proxy connector for the Hyper HTTP library.")
     (license license:expat)))
 
+(define-public rust-hyper-rustls-0.24
+  (package
+    (name "rust-hyper-rustls")
+    (version "0.24.2")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "hyper-rustls" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1475j4a2nczz4aajzzsq3hpwg1zacmzbqg393a14j80ff8izsgpc"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:tests? #f              ; Not all files included.
+       #:cargo-inputs (("rust-futures-util" ,rust-futures-util-0.3)
+                       ("rust-http" ,rust-http-0.2)
+                       ("rust-hyper" ,rust-hyper-0.14)
+                       ("rust-log" ,rust-log-0.4)
+                       ("rust-rustls" ,rust-rustls-0.21)
+                       ("rust-rustls-native-certs" 
,rust-rustls-native-certs-0.6)
+                       ("rust-tokio" ,rust-tokio-1)
+                       ("rust-tokio-rustls" ,rust-tokio-rustls-0.24)
+                       ("rust-webpki-roots" ,rust-webpki-roots-0.25))
+       #:cargo-development-inputs (("rust-hyper" ,rust-hyper-0.14)
+                                   ("rust-rustls" ,rust-rustls-0.21)
+                                   ("rust-rustls-pemfile" 
,rust-rustls-pemfile-1)
+                                   ("rust-tokio" ,rust-tokio-1))))
+    (native-inputs (list perl))
+    (home-page "https://github.com/rustls/hyper-rustls";)
+    (synopsis "Rustls+Hyper integration for pure Rust HTTPS")
+    (description
+     "This package provides Rustls+Hyper integration for pure Rust HTTPS.")
+    (license (list license:asl2.0 license:isc license:expat))))
+
 (define-public rust-hyper-rustls-0.23
   (package
+    (inherit rust-hyper-rustls-0.24)
     (name "rust-hyper-rustls")
     (version "0.23.2")
     (source
@@ -36664,7 +36699,6 @@ SystemTime}}.")
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
         (base32 "0736s6a32dqr107f943xaz1n05flbinq6l19lq1wsrxkc5g9d20p"))))
-    (build-system cargo-build-system)
     (arguments
      `(#:tests? #f              ; Not all files included.
        #:cargo-inputs
@@ -36681,14 +36715,7 @@ SystemTime}}.")
         ("rust-hyper" ,rust-hyper-0.14)
         ("rust-rustls" ,rust-rustls-0.20)
         ("rust-rustls-pemfile" ,rust-rustls-pemfile-1)
-        ("rust-tokio" ,rust-tokio-1))))
-    (native-inputs (list perl))
-    (home-page "https://github.com/ctz/hyper-rustls";)
-    (synopsis "Rustls+Hyper integration for pure Rust HTTPS")
-    (description
-     "This package provides Rustls+Hyper integration for pure Rust HTTPS.")
-    (license
-     (list license:asl2.0 license:isc license:expat))))
+        ("rust-tokio" ,rust-tokio-1))))))
 
 (define-public rust-hyper-rustls-0.22
   (package



reply via email to

[Prev in Thread] Current Thread [Next in Thread]