{% set version = "0.2.1" %}
{% set sha256 = "c8b22048424584a633a4ebb1416ba4086b925b83eef994a92ac583d34bebb196" %}

package:
  name: "gndiff"
  version: {{ version }}

source:
  url: https://github.com/gnames/gndiff/archive/refs/tags/v{{ version}}.tar.gz
  sha256: {{ sha256 }}

build:
  number: 0
  run_exports:
    - {{ pin_subpackage('gndiff', max_pin="x") }}

requirements:
  build:
    - {{ compiler('go') }}

test:
  commands:
    - gndiff --help
    - gndiff --version

about:
  home: https://github.com/gnames/gndiff
  license: MIT
  license_file: LICENSE # license file absent from versions <=0.1.1
  summary: "GNdiff compares scientific names from two files"


extra:
  identifiers:
    - doi:https://doi.org/10.5281/zenodo.5111561
