# IT4Innovations
# LK 2023

easyblock = "CMakeNinja"

name = 'JsonCpp'
version = '1.9.5'

homepage = 'https://open-source-parsers.github.io/jsoncpp-docs/doxygen/index.html'
description = """ JsonCpp is a C++ library that allows manipulating JSON values,
 including serialization and deserialization to and from strings. It can also preserve existing comment in
 unserialization/serialization steps, making it a convenient format to store user input files. """

toolchain = {'name': 'GCCcore', 'version': '12.2.0'}

source_urls = ['https://github.com/open-source-parsers/jsoncpp/archive']
sources = ['%(version)s.tar.gz']
checksums = ['f409856e5920c18d0c2fb85276e24ee607d2a09b5e7d5f0a371368903c275da2']

builddependencies = [
    ('CMake', '3.24.3'),
    ('Ninja', '1.11.1'),
    ('pkgconf', '1.9.3'),
    ('binutils', '2.39'),
]

sanity_check_paths = {
    'files': ['include/json/json.h', 'lib/libjsoncpp.%s' % SHLIB_EXT],
    'dirs': [],
}

moduleclass = 'lib'
