guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

88/111: gnu: Add rust-rustls-platform-verifier-0.3.


From: guix-commits
Subject: 88/111: gnu: Add rust-rustls-platform-verifier-0.3.
Date: Thu, 21 Nov 2024 08:33:36 -0500 (EST)

efraim pushed a commit to branch rust-team
in repository guix.

commit 003abdced535d8785925d52c88c24cf385c064c1
Author: Efraim Flashner <efraim@flashner.co.il>
AuthorDate: Wed Nov 20 21:04:49 2024 +0200

    gnu: Add rust-rustls-platform-verifier-0.3.
    
    * gnu/packages/crates-tls.scm (rust-rustls-platform-verifier-0.3): New 
variable.
    
    Change-Id: Id3f0cf8d9d8528315d802a691c2dfdb1014570f8
---
 gnu/packages/crates-tls.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 49 insertions(+)

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")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]