guix_mirror_bot pushed a commit to branch go-team
in repository guix.
commit e1523e869c14388f9397c2a773c601c6cdd179e3
Author: Sharlatan Hellseher <[email protected]>
AuthorDate: Wed May 28 00:11:06 2025 +0100
gnu: Add specification-json-schema-test-suite.
* gnu/packages/specifications.scm (specification-json-schema-test-suite):
New variable.
Change-Id: I7df349aaa2391118a1b96f5a951acd9fb22bc20a
---
gnu/packages/specifications.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/specifications.scm b/gnu/packages/specifications.scm
index d0f121fb56..c711303dad 100644
--- a/gnu/packages/specifications.scm
+++ b/gnu/packages/specifications.scm
@@ -84,6 +84,33 @@ suites of application implementing the standard.")
;; terms.
(license (list license:expat license:asl2.0)))))
+(define-public specification-json-schema-test-suite
+ (package
+ (name "specification-json-schema-test-suite")
+ (version "23.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/json-schema-org/JSON-Schema-Test-Suite")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1400r7v5rl0bdhiygg37in0wzbqagc8jprcsw8wxfw082ayn57gq"))))
+ (build-system copy-build-system)
+ (arguments
+ '(#:install-plan '(("./tests" "share/tests"))))
+ (home-page "https://github.com/json-schema-org/JSON-Schema-Test-Suite")
+ (synopsis "Language agnostic test suite for the JSON Schema
specifications")
+ (description
+ "This package provides a set of JSON objects that implementers of JSON
+Schema validation libraries can use to test their validators.
+
+It is meant to be language agnostic and should require only a JSON parser.
+The conversion of the JSON objects into tests within a specific language and
+test framework of choice is left to be done by the validator implementer.")
+ (license license:expat)))
+
(define-public specification-multibase
(let ((commit "4c8344e37852773de155f587dcf5897771b3fc19")
(revision "1"))