summaryrefslogtreecommitdiff
path: root/gnu/packages/crates-tls.scm
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2024-12-24 10:01:58 +0200
committerEfraim Flashner <efraim@flashner.co.il>2025-01-06 12:16:09 +0200
commit776131cbc5e96fcd29c22310630a399205782f34 (patch)
tree5f75cb12a382c1d5afebfcf61cb8109c950d1219 /gnu/packages/crates-tls.scm
parent6bb31f4b403ca0bdc4bea570164823f1bee26b8a (diff)
gnu: Add rust-rustls-platform-verifier-0.4.
* gnu/packages/crates-tls.scm (rust-rustls-platform-verifier-0.4): New variable. Change-Id: I294069ba551bf545503ab64ade44d21255c09b10
Diffstat (limited to 'gnu/packages/crates-tls.scm')
-rw-r--r--gnu/packages/crates-tls.scm45
1 files changed, 45 insertions, 0 deletions
diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm
index 653851b4f4e..ed211c49d08 100644
--- a/gnu/packages/crates-tls.scm
+++ b/gnu/packages/crates-tls.scm
@@ -1972,6 +1972,51 @@ PEM-encodings commonly used to store keys and certificates at rest.")
TLS certificates in rustls with the operating system verifier.")
(license (list license:expat license:asl2.0))))
+(define-public rust-rustls-platform-verifier-0.4
+ (package
+ (inherit rust-rustls-platform-verifier-0.5)
+ (name "rust-rustls-platform-verifier")
+ (version "0.4.0")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (crate-uri "rustls-platform-verifier" version))
+ (file-name (string-append name "-" version ".tar.gz"))
+ (sha256
+ (base32 "0dnij2d9029i06x4bhyzj5izwv3370233czaqkk1fmgc1wjdrix4"))))
+ (arguments
+ (list #:cargo-test-flags
+ '(list "--"
+ "--skip=tests::verification_mock::test_verification_without_mock_root"
+ "--skip=tests::verification_real_world::tests::_1password_com_valid"
+ "--skip=tests::verification_real_world::tests::letsencrypt"
+ "--skip=tests::verification_real_world::tests::my_1password_com_valid"
+ "--skip=tests::verification_real_world::tests::my_1password_com_valid_no_stapled"
+ "--skip=tests::verification_real_world::tests::unrelated_chain_not_valid_for_my_1password_com"
+ "--skip=tests::verification_real_world::tests::unrelated_chain_valid_for_unrelated_domain"
+ "--skip=tests::verification_real_world::tests::unrelated_domain_invalid")
+ #:cargo-inputs
+ (list rust-android-logger-0.13
+ rust-base64-0.22
+ rust-core-foundation-0.9
+ rust-core-foundation-sys-0.8
+ rust-jni-0.19
+ rust-log-0.4
+ rust-once-cell-1
+ rust-paste-1
+ rust-rustls-0.23
+ rust-rustls-native-certs-0.7
+ rust-rustls-platform-verifier-android-0.1
+ rust-rustls-webpki-0.102
+ rust-security-framework-2
+ rust-security-framework-sys-2
+ rust-webpki-root-certs-0.26
+ rust-windows-sys-0.52)
+ #:cargo-development-inputs
+ (list rust-paste-1
+ rust-rustls-0.23
+ rust-webpki-root-certs-0.26)))))
+
(define-public rust-rustls-platform-verifier-0.3
(package
(inherit rust-rustls-platform-verifier-0.5)