summaryrefslogtreecommitdiff
path: root/gnu/packages/specifications.scm
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-05-28 00:11:06 +0100
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-08-11 21:42:34 +0100
commit7861d639c9812a1d32eaf07f0bd4773a42ba7677 (patch)
tree088599c9c81c1dee5133865de6aa04d81da2f2e7 /gnu/packages/specifications.scm
parentb9b054c734f3b2ab723f87483d3a7953de9e157f (diff)
gnu: Add specification-json-schema-test-suite.
* gnu/packages/specifications.scm (specification-json-schema-test-suite): New variable. Change-Id: I7df349aaa2391118a1b96f5a951acd9fb22bc20a
Diffstat (limited to 'gnu/packages/specifications.scm')
-rw-r--r--gnu/packages/specifications.scm27
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/specifications.scm b/gnu/packages/specifications.scm
index d0f121fb56c..c711303dad3 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"))