summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorCayetano Santos <csantosb@inventati.org>2025-10-23 12:07:47 +0200
committerCayetano Santos <csantosb@inventati.org>2025-11-27 19:45:35 +0100
commitd67d6cb583f837798a7aad92f609a9ee5d045c20 (patch)
treec3f73226aee7108e824a8e3731f14d6b6e66c065 /gnu
parent00c44c9400abb6bf5817ec21e9efe9bd047828de (diff)
gnu: Add python-jschon.
* gnu/packages/python-xyz.scm (python-jschon): New variable. Change-Id: I0c79df0fd79190a64fb52b998032b0a4ed54ca25
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/python-xyz.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/python-xyz.scm b/gnu/packages/python-xyz.scm
index c1caa4660c5..9f301dec3df 100644
--- a/gnu/packages/python-xyz.scm
+++ b/gnu/packages/python-xyz.scm
@@ -1397,6 +1397,37 @@ intervals, where the intervals include the lower bound but not the upper
bound.")
(license license:asl2.0)))
+(define-public python-jschon
+ (package
+ (name "python-jschon")
+ (version "0.11.1")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/marksparkza/jschon/")
+ (commit (string-append "v" version))
+ (recursive? #t))) ;required for tests
+ (sha256
+ (base32 "0javlbq83ffy98kinhl7i17ja00917856yg55qlbn8048lhc9sxq"))
+ (file-name (git-file-name name version))))
+ (build-system pyproject-build-system)
+ (propagated-inputs
+ (list python-rfc3986))
+ (native-inputs
+ (list python-coverage
+ python-hypothesis
+ python-pytest
+ python-pytest-benchmark
+ python-pytest-httpserver
+ python-requests
+ python-setuptools))
+ (home-page "https://jschon.readthedocs.io/")
+ (synopsis "Object-oriented JSON Schema implementation for Python")
+ (description
+ "This package provides a JSON toolkit for Python developers.")
+ (license license:expat)))
+
(define-public python-jsonpath-ng
(package
(name "python-jsonpath-ng")