gnu: Add rust-native-tls-0.1.

* gnu/packages/crates-io.scm (rust-native-tls-0.1): New variable.
This commit is contained in:
Nicolas Goaziou 2021-02-10 17:42:16 +01:00
parent ed0a3bea35
commit 9090f7bf69
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -23349,6 +23349,29 @@ (define-public rust-native-tls-0.2
"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")