summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-10 20:03:07 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-03-10 23:49:53 +0100
commit7945e1611f5a549709d0203b252263944b6f6246 (patch)
tree2279b04af6380d2149e74e24061a3e634224d8bd /gnu
parentf8e2758ec466fb16c54d0e8e6c0c79215ecfa336 (diff)
downloadguix-7945e1611f5a549709d0203b252263944b6f6246.tar.gz
gnu: Add rust-tokio-native-tls-0.3.
* gnu/packages/crates-io.scm (rust-tokio-native-tls-0.3): New variable.
(rust-tokio-native-tls-0.1): Inherit from above.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/crates-io.scm26
1 files changed, 22 insertions, 4 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index f814d46e89..4eb46b5190 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -42633,23 +42633,23 @@ applications backed by buffers.")
 Tokio.")
     (license (list license:expat license:asl2.0))))
 
-(define-public rust-tokio-native-tls-0.1
+(define-public rust-tokio-native-tls-0.3
   (package
     (name "rust-tokio-native-tls")
-    (version "0.1.0")
+    (version "0.3.0")
     (source
      (origin
        (method url-fetch)
        (uri (crate-uri "tokio-native-tls" version))
        (file-name (string-append name "-" version ".tar.gz"))
        (sha256
-        (base32 "0sd0xmj7kwizybpsg8vh7a6sixj0bs4dzihzgmdf1a0rm69qaq6d"))))
+        (base32 "0yvikgmph2qjq0ni2h2wfaxkzhbnc09c2544av0zidyj1dk9bngp"))))
     (build-system cargo-build-system)
     (arguments
      `(#:skip-build? #t
        #:cargo-inputs
        (("rust-native-tls" ,rust-native-tls-0.2)
-        ("rust-tokio" ,rust-tokio-0.2))))
+        ("rust-tokio" ,rust-tokio-1))))
     (home-page "https://tokio.rs")
     (synopsis "TLS/SSL streams for Tokio")
     (description
@@ -42658,6 +42658,24 @@ using native-tls giving an implementation of TLS for nonblocking I/O
 streams.")
     (license license:expat)))
 
+(define-public rust-tokio-native-tls-0.1
+  (package
+    (inherit rust-tokio-native-tls-0.3)
+    (name "rust-tokio-native-tls")
+    (version "0.1.0")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "tokio-native-tls" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0sd0xmj7kwizybpsg8vh7a6sixj0bs4dzihzgmdf1a0rm69qaq6d"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-native-tls" ,rust-native-tls-0.2)
+        ("rust-tokio" ,rust-tokio-0.2))))))
+
 (define-public rust-tokio-net-0.2
   (package
     (name "rust-tokio-net")