guix-commits
[Top][All Lists]
Advanced

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

20/24: gnu: Add rust-async-native-tls-0.3.


From: guix-commits
Subject: 20/24: gnu: Add rust-async-native-tls-0.3.
Date: Tue, 5 Jan 2021 15:17:10 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 1352555d85c0ac6428f39a9f57cc5066ed4c506d
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Tue Dec 22 17:49:52 2020 +0100

    gnu: Add rust-async-native-tls-0.3.
    
    * gnu/packages/crates-io.scm (rust-async-native-tls-0.3): New variable.
---
 gnu/packages/crates-io.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index aba4aa6..d99b438 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -1558,6 +1558,33 @@ primitives:
 @end itemize")
     (license (list license:asl2.0 license:expat))))
 
+(define-public rust-async-native-tls-0.3
+  (package
+    (name "rust-async-native-tls")
+    (version "0.3.3")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "async-native-tls" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "0cwv4vbrvcbv58b51y1azfbszzgzhrzxx92q5nl6hk6kkf97m7ly"))))
+    (build-system cargo-build-system)
+    (arguments
+     `(#:skip-build? #true       ;XXX: build when rust-async-std-1 is packaged
+       #:cargo-inputs
+       (;;("rust-async-std" ,rust-async-std-1)
+        ("rust-native-tls" ,rust-native-tls-0.2)
+        ("rust-thiserror" ,rust-thiserror-1)
+        ("rust-tokio" ,rust-tokio-0.2)
+        ("rust-url" ,rust-url-2))
+       #:cargo-development-inputs
+       (("rust-threadpool" ,rust-threadpool-1.7))))
+    (home-page "https://docs.rs/crate/async-native-tls/";)
+    (synopsis "Native TLS using futures")
+    (description "Native TLS using futures")
+    (license (list license:expat license:asl2.0))))
+
 (define-public rust-async-net-1
   (package
     (name "rust-async-net")



reply via email to

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