diff options
author | Efraim Flashner <efraim@flashner.co.il> | 2024-11-20 21:04:49 +0200 |
---|---|---|
committer | Efraim Flashner <efraim@flashner.co.il> | 2024-11-28 11:05:36 +0200 |
commit | e8bb38202e2aa678038703c8ce09d3636fa11e6e (patch) | |
tree | d6ee9a82ddb2bc4adc47b7c9c6eaa9715baf8086 /gnu/packages/crates-tls.scm | |
parent | d776c5966e2d80f45d1133ee0eda12c8698e1ada (diff) | |
download | guix-e8bb38202e2aa678038703c8ce09d3636fa11e6e.tar guix-e8bb38202e2aa678038703c8ce09d3636fa11e6e.tar.gz |
gnu: Add rust-rustls-platform-verifier-0.3.
* gnu/packages/crates-tls.scm (rust-rustls-platform-verifier-0.3): New variable.
Change-Id: Id3f0cf8d9d8528315d802a691c2dfdb1014570f8
Diffstat (limited to 'gnu/packages/crates-tls.scm')
-rw-r--r-- | gnu/packages/crates-tls.scm | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/gnu/packages/crates-tls.scm b/gnu/packages/crates-tls.scm index 7cc42dbe43..ec6c1c0e4c 100644 --- a/gnu/packages/crates-tls.scm +++ b/gnu/packages/crates-tls.scm @@ -1842,6 +1842,55 @@ PEM-encodings commonly used to store keys and certificates at rest.") "This crate provides shared types for the rustls PKI ecosystem.") (license (list license:expat license:asl2.0)))) +(define-public rust-rustls-platform-verifier-0.3 + (package + (name "rust-rustls-platform-verifier") + (version "0.3.4") + (source + (origin + (method url-fetch) + (uri (crate-uri "rustls-platform-verifier" version)) + (file-name (string-append name "-" version ".tar.gz")) + (sha256 + (base32 "145lhjn9w5khp0fn4lagaa8qqyjyhfqn2dg6llva6qyzvy5qgfxg")))) + (build-system cargo-build-system) + (arguments + `(#:cargo-test-flags + '("--release" "--" + "--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 + (("rust-android-logger" ,rust-android-logger-0.13) + ("rust-base64" ,rust-base64-0.22) + ("rust-core-foundation" ,rust-core-foundation-0.9) + ("rust-core-foundation-sys" ,rust-core-foundation-sys-0.8) + ("rust-jni" ,rust-jni-0.19) + ("rust-log" ,rust-log-0.4) + ("rust-once-cell" ,rust-once-cell-1) + ("rust-rustls" ,rust-rustls-0.23) + ("rust-rustls-native-certs" ,rust-rustls-native-certs-0.7) + ("rust-rustls-platform-verifier-android" ,rust-rustls-platform-verifier-android-0.1) + ("rust-rustls-webpki" ,rust-rustls-webpki-0.102) + ("rust-security-framework" ,rust-security-framework-2) + ("rust-security-framework-sys" ,rust-security-framework-sys-2) + ("rust-webpki-roots" ,rust-webpki-roots-0.26) + ("rust-winapi" ,rust-winapi-0.3)) + #:cargo-development-inputs (("rust-rustls" ,rust-rustls-0.23) + ("rust-webpki-roots" ,rust-webpki-roots-0.26)))) + (home-page "https://github.com/rustls/rustls-platform-verifier") + (synopsis + "Verify TLS certificates in rustls with the operating system verifier") + (description + "This package provides rustls-platform-verifier a way to support verifying +TLS certificates in rustls with the operating system verifier.") + (license (list license:expat license:asl2.0)))) + (define-public rust-rustls-platform-verifier-android-0.1 (package (name "rust-rustls-platform-verifier-android") |