guix-commits
[Top][All Lists]
Advanced

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

70/471: gnu: Add rust-tokio-rustls-0.23.


From: guix-commits
Subject: 70/471: gnu: Add rust-tokio-rustls-0.23.
Date: Wed, 3 May 2023 09:27:02 -0400 (EDT)

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

commit ab75020db24d50bdb5c6e8d04f1671c7e9f6fc19
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Feb 22 11:52:18 2023 +0200

    gnu: Add rust-tokio-rustls-0.23.
    
    * gnu/packages/crates-io.scm (rust-tokio-rustls-0.23): New variable.
    (rust-tokio-rustls-0.22): Inherit from rust-tokio-rustls-0.23.
---
 gnu/packages/crates-io.scm | 38 ++++++++++++++++++++++++++++++++------
 1 file changed, 32 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 46a0653a36..aa3fe17e9c 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -63004,10 +63004,10 @@ futures.")
      "Event loop that drives Tokio I/O resources.")
     (license license:expat)))
 
-(define-public rust-tokio-rustls-0.22
+(define-public rust-tokio-rustls-0.23
   (package
     (name "rust-tokio-rustls")
-    (version "0.22.0")
+    (version "0.23.4")
     (source
      (origin
        (method url-fetch)
@@ -63015,14 +63015,20 @@ futures.")
        (file-name
         (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "1dp1s2kai081f3fn9gjq92x2lw7lm7iqpcsl02cg2zg5fbg48s5w"))))
+        (base32 "0nfsmmi8l1lgpbfy6079d5i13984djzcxrdr9jc06ghi0cwyhgn4"))))
     (build-system cargo-build-system)
     (arguments
-     `(#:skip-build? #t
+     `(#:tests? #f          ; Issue with the certificate test dates.
        #:cargo-inputs
-       (("rust-rustls" ,rust-rustls-0.19)
+       (("rust-rustls" ,rust-rustls-0.20)
         ("rust-tokio" ,rust-tokio-1)
-        ("rust-webpki" ,rust-webpki-0.21))))
+        ("rust-webpki" ,rust-webpki-0.22))
+       #:cargo-development-inputs
+       (("rust-futures-util" ,rust-futures-util-0.3)
+        ("rust-lazy-static" ,rust-lazy-static-1)
+        ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-webpki-roots" ,rust-webpki-roots-0.22))))
     (home-page "https://github.com/tokio-rs/tls";)
     (synopsis "Asynchronous TLS/SSL streams for Tokio")
     (description
@@ -63030,6 +63036,26 @@ futures.")
 Rustls.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-tokio-rustls-0.22
+  (package
+    (inherit rust-tokio-rustls-0.23)
+    (name "rust-tokio-rustls")
+    (version "0.22.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tokio-rustls" version))
+       (file-name
+        (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1dp1s2kai081f3fn9gjq92x2lw7lm7iqpcsl02cg2zg5fbg48s5w"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-rustls" ,rust-rustls-0.19)
+        ("rust-tokio" ,rust-tokio-1)
+        ("rust-webpki" ,rust-webpki-0.21))))))
+
 (define-public rust-tokio-rustls-0.14
   (package
     (inherit rust-tokio-rustls-0.22)



reply via email to

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