aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-10 17:42:16 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2021-02-13 11:50:38 +0100
commit9090f7bf6999d56d9bc74669b2c839fd5739a250 (patch)
treefc78e5bc008909bc62c154fa8e85112a22252407 /gnu/packages
parented0a3bea35fc8593724565c18f3ac0d107eb28d4 (diff)
downloadguix-9090f7bf6999d56d9bc74669b2c839fd5739a250.tar
guix-9090f7bf6999d56d9bc74669b2c839fd5739a250.tar.gz
gnu: Add rust-native-tls-0.1.
* gnu/packages/crates-io.scm (rust-native-tls-0.1): New variable.
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/crates-io.scm23
1 files changed, 23 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index defb28d8c6..411cd67d54 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")