From f811e1ca959791736d86a35ac15090ff413b9a12 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Thu, 23 Oct 2025 12:23:28 +0100 Subject: [PATCH] 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 4aec58282ada2e77fc0c99c41926a58050632227..5ba7fa70942c2583e0ce5439bc519a50a75f8758 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")