guix-commits
[Top][All Lists]
Advanced

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

183/272: gnu: Add rust-native-tls-0.1.


From: guix-commits
Subject: 183/272: gnu: Add rust-native-tls-0.1.
Date: Sat, 13 Feb 2021 05:54:54 -0500 (EST)

ngz pushed a commit to branch master
in repository guix.

commit 9090f7bf6999d56d9bc74669b2c839fd5739a250
Author: Nicolas Goaziou <mail@nicolasgoaziou.fr>
AuthorDate: Wed Feb 10 17:42:16 2021 +0100

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

diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index defb28d..411cd67 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23349,6 +23349,29 @@ IO of Windows's named pipes.")
      "This package provides a wrapper over a platform's native TLS 
implementation.")
     (license (list license:expat license:asl2.0))))
 
+(define-public rust-native-tls-0.1
+  (package
+    (inherit rust-native-tls-0.2)
+    (name "rust-native-tls")
+    (version "0.1.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (crate-uri "native-tls" version))
+       (file-name (string-append name "-" version ".tar.gz"))
+       (sha256
+        (base32 "1h7v80nlskyr7b1gsg4ivlpm6pilj6ybgvcwadj7ips3igfblkgp"))))
+    (arguments
+     `(#:skip-build? #t
+       #:cargo-inputs
+       (("rust-lazy-static" ,rust-lazy-static-0.2)
+        ("rust-libc" ,rust-libc-0.2)
+        ("rust-openssl" ,rust-openssl-0.9)
+        ("rust-schannel" ,rust-schannel-0.1)
+        ("rust-security-framework" ,rust-security-framework-0.1)
+        ("rust-security-framework-sys" ,rust-security-framework-sys-0.1)
+        ("rust-tempdir" ,rust-tempdir-0.3))))))
+
 (define-public rust-natord-1
   (package
     (name "rust-natord")



reply via email to

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