summaryrefslogtreecommitdiff
path: root/gnu/packages/python-web.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-10-23 12:23:28 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-10-23 13:29:25 +0100
commitf811e1ca959791736d86a35ac15090ff413b9a12 (patch)
treeb06745bd45eb06bde77fa51d515de7062c92453e /gnu/packages/python-web.scm
parente283facef9edf834bf95fbef7e5ff9d1968380fc (diff)
gnu: Add python-truststore.
* gnu/packages/python-web.scm (python-truststore): New variable. Change-Id: If5898d8eae6d8f5eab3bfb958566608b79bd25b2
Diffstat (limited to 'gnu/packages/python-web.scm')
-rw-r--r--gnu/packages/python-web.scm24
1 files changed, 24 insertions, 0 deletions
diff --git a/gnu/packages/python-web.scm b/gnu/packages/python-web.scm
index 4aec58282ad..5ba7fa70942 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")