[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
106/189: gnu: Add rust-rustls.
From: |
guix-commits |
Subject: |
106/189: gnu: Add rust-rustls. |
Date: |
Mon, 21 Sep 2020 06:01:29 -0400 (EDT) |
arunisaac pushed a commit to branch wip-swc
in repository guix.
commit 4eede372756a6569e1332c63b738db40925a3414
Author: Arun Isaac <arunisaac@systemreboot.net>
AuthorDate: Thu Sep 17 16:03:21 2020 +0530
gnu: Add rust-rustls.
* gnu/packages/crates-io.scm (rust-rustls-0.18, rust-rustls-0.17): New
variables.
(rust-rustls-0.16): Inherit from rust-rustls-0.17.
---
gnu/packages/crates-io.scm | 69 ++++++++++++++++++++++++++++++++++++++++++----
1 file changed, 63 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm
index 44f696d..85bcce3 100644
--- a/gnu/packages/crates-io.scm
+++ b/gnu/packages/crates-io.scm
@@ -23420,8 +23420,70 @@ rustc compiler.")
"Automatically apply the suggestions made by rustc.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rustls-0.18
+ (package
+ (name "rust-rustls")
+ (version "0.18.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustls" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "108cf3bfw5high066shz9xrfv4jz7djdmnwqs3kwx4wfypf2c4ax"))))
+ (build-system cargo-build-system)
+ (arguments
+ `(#:cargo-inputs
+ (("rust-base64" ,rust-base64-0.12)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-ring" ,rust-ring-0.16)
+ ("rust-sct" ,rust-sct-0.6)
+ ("rust-webpki" ,rust-webpki-0.21))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-env-logger" ,rust-env-logger-0.7)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.20))))
+ (home-page "https://github.com/ctz/rustls")
+ (synopsis "Modern TLS library written in Rust.")
+ (description "This package provides a modern TLS library written in
+Rust.")
+ (license
+ (list license:asl2.0 license:isc license:expat))))
+
+(define-public rust-rustls-0.17
+ (package
+ (inherit rust-rustls-0.18)
+ (name "rust-rustls")
+ (version "0.17.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustls" version))
+ (file-name
+ (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32
+ "1q8m835viqrf4bbd2fa8rnmaj48fkd984saxf0238hb8blgs7m60"))))
+ (arguments
+ `(#:cargo-inputs
+ (("rust-base64" ,rust-base64-0.11)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-ring" ,rust-ring-0.16)
+ ("rust-sct" ,rust-sct-0.6)
+ ("rust-webpki" ,rust-webpki-0.21))
+ #:cargo-development-inputs
+ (("rust-criterion" ,rust-criterion-0.3)
+ ("rust-env-logger" ,rust-env-logger-0.7)
+ ("rust-log" ,rust-log-0.4)
+ ("rust-tempfile" ,rust-tempfile-3)
+ ("rust-webpki-roots" ,rust-webpki-roots-0.19))))))
+
(define-public rust-rustls-0.16
(package
+ (inherit rust-rustls-0.17)
(name "rust-rustls")
(version "0.16.0")
(source
@@ -23431,7 +23493,6 @@ rustc compiler.")
(file-name (string-append name "-" version ".tar.gz"))
(sha256
(base32 "17n0fx3fpkg4fhpdplrdhkissnl003kj90vzbqag11vkpyqihnmj"))))
- (build-system cargo-build-system)
(arguments
`(#:tests? #f ;; 1/114 tests fail (test file not found)
#:cargo-inputs
@@ -23445,11 +23506,7 @@ rustc compiler.")
("rust-env-logger" ,rust-env-logger-0.6)
("rust-log" ,rust-log-0.4)
("rust-tempfile" ,rust-tempfile-3)
- ("rust-webpki-roots" ,rust-webpki-roots-0.17))))
- (home-page "https://github.com/ctz/rustls")
- (synopsis "Modern TLS library written in Rust")
- (description "This package provides a modern TLS library written in Rust.")
- (license (list license:asl2.0 license:isc license:expat))))
+ ("rust-webpki-roots" ,rust-webpki-roots-0.17))))))
(define-public rust-rustls-0.12
(package/inherit rust-rustls-0.16
- 52/189: gnu: Add rust-lock-api-0.4., (continued)
- 52/189: gnu: Add rust-lock-api-0.4., guix-commits, 2020/09/21
- 71/189: gnu: Add rust-globwalk-0.8., guix-commits, 2020/09/21
- 78/189: gnu: Add rust-insta-0.16., guix-commits, 2020/09/21
- 80/189: gnu: Add rust-stream-cipher-0.4., guix-commits, 2020/09/21
- 82/189: gnu: Add rust-aes-0.4., guix-commits, 2020/09/21
- 85/189: gnu: Add rust-hash32-0.1., guix-commits, 2020/09/21
- 87/189: gnu: Add rust-ufmt-0.1., guix-commits, 2020/09/21
- 94/189: gnu: Add rust-standback-0.2., guix-commits, 2020/09/21
- 97/189: gnu: Add rust-time-0.2., guix-commits, 2020/09/21
- 105/189: gnu: Add rust-enum-as-inner-0.3., guix-commits, 2020/09/21
- 106/189: gnu: Add rust-rustls.,
guix-commits <=
- 114/189: gnu: Add rust-xz2-0.1., guix-commits, 2020/09/21
- 124/189: gnu: Add rust-tower-service-0.3., guix-commits, 2020/09/21
- 135/189: gnu: Add rust-async-trait-0.1., guix-commits, 2020/09/21
- 126/189: gnu: Add rust-tower-test-0.3., guix-commits, 2020/09/21
- 127/189: gnu: Add rust-tower-util-0.3., guix-commits, 2020/09/21
- 134/189: gnu: Add rust-tracing-futures-0.2., guix-commits, 2020/09/21
- 131/189: gnu: Add rust-tokio-util-0.3., guix-commits, 2020/09/21
- 136/189: gnu: Add rust-tracing-0.1., guix-commits, 2020/09/21
- 137/189: gnu: Add rust-tracing-attributes-0.1., guix-commits, 2020/09/21
- 141/189: gnu: Add rust-tokio-rustls-0.14., guix-commits, 2020/09/21