1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-06 21:20:33 +02:00

gnu: Add python-jschon.

* gnu/packages/python-xyz.scm (python-jschon): New variable.

Change-Id: I0c79df0fd79190a64fb52b998032b0a4ed54ca25
This commit is contained in:
Cayetano Santos
2025-10-23 12:07:47 +02:00
parent 00c44c9400
commit d67d6cb583

View File

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