guix_mirror_bot pushed a commit to branch master
in repository guix.
commit f811e1ca959791736d86a35ac15090ff413b9a12
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Thu Oct 23 12:23:28 2025 +0100
gnu: Add python-truststore.
* gnu/packages/python-web.scm (python-truststore): New variable.
Change-Id: If5898d8eae6d8f5eab3bfb958566608b79bd25b2
---
gnu/packages/python-web.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4aec58282a..5ba7fa7094 100644
--- a/gnu/packages/python-web.scm
+++ b/gnu/packages/python-web.scm
@@ -10183,6 +10183,30 @@ conflicts detected by that mechanism.")
for Python. It is mainly used by the ZODB.")
(license license:zpl2.1)))
+(define-public python-truststore
+ (package
+ (name "python-truststore")
+ (version "0.10.4")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (pypi-uri "truststore" version))
+ (sha256
+ (base32 "00f3xc7720rkddsn291yrw871kfnimi6d9xbwi75xbb3ci1vv4cx"))))
+ (build-system pyproject-build-system)
+ (arguments
+ (list #:tests? #f)) ;all tests require Internet access
+ (native-inputs
+ (list python-flit-core))
+ (home-page "https://github.com/sethmlarson/truststore")
+ (synopsis "Verify certificates using native system trust stores")
+ (description
+ "Truststore is a library which exposes native system certificate stores
(ie
+\"trust stores\") through an @code{ssl.SSLContext-like} API. This means that
+Python applications no longer need to rely on certifi as a root certificate
+store.")
+ (license license:expat)))
+
(define-public python-robot-detection
(package
(name "python-robot-detection")