jsoncons: new package (#49105)
This commit is contained in:
parent
53262b968b
commit
11ba5ebbcd
25
var/spack/repos/builtin/packages/jsoncons/package.py
Normal file
25
var/spack/repos/builtin/packages/jsoncons/package.py
Normal file
@ -0,0 +1,25 @@
|
||||
# Copyright Spack Project Developers. See COPYRIGHT file for details.
|
||||
#
|
||||
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
||||
|
||||
|
||||
from spack.package import *
|
||||
|
||||
|
||||
class Jsoncons(CMakePackage):
|
||||
"""A C++, header-only library for constructing JSON and JSON-like
|
||||
data formats, with JSON Pointer, JSON Patch, JSON Schema,
|
||||
JSONPath, JMESPath, CSV, MessagePack, CBOR, BSON, UBJSON
|
||||
"""
|
||||
|
||||
homepage = "https://danielaparker.github.io/jsoncons/"
|
||||
url = "https://github.com/danielaparker/jsoncons/archive/refs/tags/v1.2.0.tar.gz"
|
||||
|
||||
license("BSL-1.0", checked_by="pranav-sivaraman")
|
||||
|
||||
version("1.2.0", sha256="3bdc0c8ceba1943b5deb889559911ebe97377971453a11227ed0a51a05e5d5d8")
|
||||
|
||||
depends_on("cxx", type="build")
|
||||
|
||||
def cmake_args(self):
|
||||
return [self.define("JSONCONS_BUILD_TESTS", self.run_tests)]
|
Loading…
Reference in New Issue
Block a user