{% set version = "0.1.0" %}

package:
  name: r-dbmodelr
  version: {{ version }}

source:
  url: https://github.com/LainPavot/DBModelR/archive/v{{ version }}.zip
  md5: 27e1aa703c667f5d39ddcd38e1e728e7
  sha256: 3126193656e11491ceaa5fe56d7f3c988c95870cba987b539d5fad2cc675317a

build:
  number: 0
  script: Rscript ./test_install_package.R

requirements:
  host:
    - sqlite
    - r-base
    - r-rlang
    - r-purrr
    - r-blob
    - r-dbi
    - r-rsqlite
  run:
    - sqlite
    - r-base
    - r-rlang
    - r-purrr
    - r-blob
    - r-dbi
    - r-rsqlite

test:
  commands:
    - R -e "library('DBModelR')"

about:
  home: https://github.com/LainPavot/DBModelR
  license: AGPL-3.0-or-later
  license_file: LICENSE
  summary: 'An ORM in R'
  description: |
    An ORM to handle database request through R objects.
  dev_url: https://github.com/LainPavot/DBModelR
  doc_url: https://github.com/LainPavot/DBModelR
  doc_source_url: https://github.com/LainPavot/DBModelR/blob/v{{ version }}/README.md

extra:
  recipe-maintainers:
    - LainPavot

Add recipe for DBModelR version 0.1.0
Add recipe for DBModelR version 0.1.0
