summary refs log tree commit diff
path: root/gnu/packages/crates-tls.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-12-27 14:08:56 +0200
committerEfraim Flashner <efraim@flashner.co.il>2024-02-20 13:56:57 +0200
commit212b96ff5772e65c25a0fe088943e3fde49e6aae (patch)
tree946c21bd02eafcd6364e1aa8364b01890ae5744e /gnu/packages/crates-tls.scm
parentc0db58384fadd9fa3657efbcb6bfafd3e26eae16 (diff)
downloadguix-212b96ff5772e65c25a0fe088943e3fde49e6aae.tar.gz
gnu: rust-async-native-tls-0.3: Move to (gnu packages crates-tls).
* gnu/packages/crates-io.scm (rust-async-native-tls-0.3): Move from here ...
* gnu/packages/crates-tls.scm: ... to here.

Change-Id: Ib3289faa91bffed89cd965caede96145e0d17411
Diffstat (limited to 'gnu/packages/crates-tls.scm')
-rw-r--r--gnu/packages/crates-tls.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm
index 54643760c0..bc13eb9357 100644
--- a/gnu/packages/crates-tls.scm
+++ b/gnu/packages/crates-tls.scm
@@ -33,6 +33,33 @@
   #:use-module (gnu packages crates-web)
   #:use-module (gnu packages rust-apps))
 
+(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))))
+    (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-tls-0.10
   (package
     (name "rust-async-tls")