valijson: add new package (#36250)

This commit is contained in:
Matthieu Dorier 2023-03-21 07:13:03 +00:00 committed by GitHub
parent 4d90f464e1
commit 9b09d8bc49
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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