diff options
author | Matthieu Dorier <mdorier@anl.gov> | 2020-09-23 16:28:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-23 17:28:33 +0200 |
commit | 4277bc6429516c091dbaa269e7af48981f1bb2e6 (patch) | |
tree | 9f357a078c1b19dc0726160d431164c130fe5bdc /var | |
parent | aedc056f9aefb5c84acf3c8d51c2a861ee4ad39c (diff) | |
download | spack-4277bc6429516c091dbaa269e7af48981f1bb2e6.tar.gz spack-4277bc6429516c091dbaa269e7af48981f1bb2e6.tar.bz2 spack-4277bc6429516c091dbaa269e7af48981f1bb2e6.tar.xz spack-4277bc6429516c091dbaa269e7af48981f1bb2e6.zip |
nlohmann-json-schema-validator: new package at v2.1.0 (#18837)
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/nlohmann-json-schema-validator/package.py | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/nlohmann-json-schema-validator/package.py b/var/spack/repos/builtin/packages/nlohmann-json-schema-validator/package.py new file mode 100644 index 0000000000..ff2af6fcea --- /dev/null +++ b/var/spack/repos/builtin/packages/nlohmann-json-schema-validator/package.py @@ -0,0 +1,26 @@ +# Copyright 2013-2020 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 import * + + +class NlohmannJsonSchemaValidator(CMakePackage): + """JSON schema validator for JSON for Modern C++""" + + homepage = "https://github.com/pboettch/json-schema-validator" + url = "https://github.com/pboettch/json-schema-validator/archive/2.1.0.tar.gz" + git = "https://github.com/pboettch/json-schema-validator.git" + + version('master', branch='master') + version('2.1.0', sha256='83f61d8112f485e0d3f1e72d51610ba3924b179926a8376aef3c038770faf202') + version('2.0.0', sha256='ca8e4ca5a88c49ea52b5f5c2a08a293dbf02b2fc66cb8c09d4cce5810ee98b57') + version('1.0.0', sha256='4bdcbf6ce98eda993d8a928dbe97a03f46643395cb872af875a908156596cc4b') + + depends_on('cmake@3.2:', type='build') + depends_on('nlohmann-json') + + def cmake_args(self): + args = ['-DBUILD_SHARED_LIBS:BOOL=ON'] + return args |