summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSharlatan Hellseher <sharlatanus@gmail.com>2025-11-25 08:31:03 +0000
committerSharlatan Hellseher <sharlatanus@gmail.com>2025-11-25 12:05:53 +0000
commitbdbc85b792f27cca44f0453288beed5879e9bac7 (patch)
treecfd09bcd9f8513c195a4aa9f5d1ad51d06a8b16f
parent71e6a206d9ad50ddc2fe607b947adfdd9ff2ebd2 (diff)
gnu: Add specification-yaml-test-suite.
* gnu/packages/specifications.scm (specification-yaml-test-suite): New variable. Change-Id: I49912f06afe79956e5b032aaa1d4080bf4708400
-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 5191410b0fb..b6f0408bc42 100644
--- a/gnu/packages/specifications.scm
+++ b/gnu/packages/specifications.scm
@@ -317,3 +317,30 @@ catalog which is a widely used source of basic astronomical and astrophysical
data for stars brighter than magnitude 6.5. It provides 9110 stars including
B1950 positions, proper motions, magnitudes, and, usually, spectral types.")
(license license:public-domain)))
+
+(define-public specification-yaml-test-suite
+ (package
+ (name "specification-yaml-test-suite")
+ (version "2022-01-17")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/yaml/yaml-test-suite")
+ (commit (string-append "data-" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "00xcny67bp56xkvz4iq6d2prvj9p48z7r705xrw49invvgyp4wnd"))))
+ (build-system copy-build-system)
+ (arguments
+ (list
+ ;; TODO: Test data files are pure YAML files and generated from the main
+ ;; branch, see Makefile. Try to re-generate them during the packaging.
+ #:install-plan
+ #~'(("./" "share/testdata"))))
+ (home-page "https://github.com/yaml/yaml-test-suite")
+ (synopsis "Comprehensive, language independent Test Suite for YAML")
+ (description
+ "This package provides data for testing the correctness of YAML processors
+devloped by @url{https://yaml.org/}.")
+ (license license:expat)))