diff options
author | Aleksandr Vityazev <avityazev@posteo.org> | 2022-01-17 13:27:59 +0000 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2022-01-22 13:09:50 +0100 |
commit | 42814db126d69699487d778535b5fcd6bad156d6 (patch) | |
tree | 6001f17db32b4091bc5fdbc7461cdfc1e93c5cdf /gnu | |
parent | 48d69ad1c0cd7e5215377eb1050728b467a393ba (diff) | |
download | guix-42814db126d69699487d778535b5fcd6bad156d6.tar.gz |
gnu: Add rust-rustls-0.20.
* gnu/packages/crates-io.scm (rust-rustls-0.20): New variable. Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/crates-io.scm | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/crates-io.scm b/gnu/packages/crates-io.scm index 6c4e180a9e..71783956e6 100644 --- a/gnu/packages/crates-io.scm +++ b/gnu/packages/crates-io.scm @@ -48162,6 +48162,40 @@ rustc compiler.") `(("rust-failure" ,rust-failure-0.1) ,@(alist-delete "rust-anyhow" cargo-inputs))))))) +(define-public rust-rustls-0.20 + (package + (name "rust-rustls") + (version "0.20.2") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls" version)) + (file-name + (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "111z24faq1i1z3gbznfgl7qp3in2fx1y1adijjsl1q7kj0i5wznk")))) + (build-system cargo-build-system) + (arguments + `(#:skip-build? #t + #:cargo-inputs + (("rust-log" ,rust-log-0.4) + ("rust-ring" ,rust-ring-0.16) + ("rust-sct" ,rust-sct-0.7) + ("rust-webpki" ,rust-webpki-0.22)) + #:cargo-development-inputs + (("rust-base64" ,rust-base64-0.13) + ("rust-criterion" ,rust-criterion-0.3) + ("rust-env-logger" ,rust-env-logger-0.9) + ("rust-log" ,rust-log-0.4) + ("rust-rustls-pemfile" ,rust-rustls-pemfile-0.2) + ("rust-webpki-roots" ,rust-webpki-roots-0.22)))) + (home-page "https://github.com/rustls/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.19 (package (name "rust-rustls") |