{% set name = "json_schema_validator" %}
{% set version = "2.0.0" %}
{% set sha256 = "ca8e4ca5a88c49ea52b5f5c2a08a293dbf02b2fc66cb8c09d4cce5810ee98b57" %}

package:
  name: {{ name }}
  version: {{ version }}

source:
  url: https://github.com/pboettch/json-schema-validator/archive/{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  skip: True  # [osx]

requirements:
  build:
    - cmake
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - nlohmann_json
  run:
    - nlohmann_json

test:
  commands:
    - test -f ${PREFIX}/include/json-schema.hpp  # [unix]
    - test -f ${PREFIX}/lib/libjson-schema-validator.so  # [unix]

about:
  home: https://github.com/pboettch/json-schema-validator
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: 'JSON schema validator for JSON for Modern C++'

extra:
  recipe-maintainers:
    - asafkahlon

{% set name = "json_schema_validator" %}
{% set version = "2.0.0" %}
{% set sha256 = "ca8e4ca5a88c49ea52b5f5c2a08a293dbf02b2fc66cb8c09d4cce5810ee98b57" %}

package:
  name: {{ name }}
  version: {{ version }}

source:
  url: https://github.com/pboettch/json-schema-validator/archive/{{ version }}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  skip: True  # [osx]

requirements:
  build:
    - cmake
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - nlohmann_json
  run:
    - nlohmann_json

test:
  commands:
    - test -f ${PREFIX}/include/json-schema.hpp  # [unix]
    - test -f ${PREFIX}/lib/libjson-schema-validator.so  # [unix]

about:
  home: https://github.com/pboettch/json-schema-validator
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: 'JSON schema validator for JSON for Modern C++'

extra:
  recipe-maintainers:
    - asafkahlon

Set nlohmann_json as host dependency
Set nlohmann_json as host dependency

Signed-off-by: Asaf Kahlon <64ca4990975254f2ecfadedee58f18409579ee17@gmail.com>
