summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--var/spack/repos/builtin/packages/valijson/package.py19
1 files changed, 19 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/valijson/package.py b/var/spack/repos/builtin/packages/valijson/package.py
new file mode 100644
index 0000000000..ba9567992b
--- /dev/null
+++ b/var/spack/repos/builtin/packages/valijson/package.py
@@ -0,0 +1,19 @@
+# Copyright 2013-2023 Lawrence Livermore National Security, LLC and other
+# Spack Project Developers. See the top-level COPYRIGHT file for details.
+#
+# SPDX-License-Identifier: (Apache-2.0 OR MIT)
+
+
+from spack.package import *
+
+
+class Valijson(CMakePackage):
+ """Header-only C++ library for JSON Schema validation,
+ with support for many popular parsers."""
+
+ homepage = "https://github.com/tristanpenman/valijson"
+ url = "https://github.com/tristanpenman/valijson/archive/refs/tags/v1.0.tar.gz"
+ git = "https://github.com/tristanpenman/valijson.git"
+
+ version("master", branch="master")
+ version("1.0", sha256="6b9f0bc89880feb3fe09aa469cd81f6168897d2fbb4e715853da3b94afd3779a")