summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/valijson/package.py
blob: 0b7f2ddf1b1e5a23811e890c59c98a2546eb8919 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Copyright 2013-2024 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"

    license("BSD-2-Clause")

    version("master", branch="master")
    version("1.0", sha256="6b9f0bc89880feb3fe09aa469cd81f6168897d2fbb4e715853da3b94afd3779a")