valijson: add new package (#36250)
This commit is contained in:
parent
4d90f464e1
commit
9b09d8bc49
19
var/spack/repos/builtin/packages/valijson/package.py
Normal file
19
var/spack/repos/builtin/packages/valijson/package.py
Normal 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")
|
Loading…
Reference in New Issue
Block a user