{% set version = "0.9.4" %}

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

source:
  url: https://github.com/shenwei356/kmcp/releases/download/v{{ version }}/kmcp_darwin_amd64.tar.gz # [osx]
  md5: 744d24450760913571b89d9188bd52b0 # [osx]

  url: https://github.com/shenwei356/kmcp/releases/download/v{{ version }}/kmcp_linux_amd64.tar.gz # [linux]
  md5: f2161625f31d2b553c055832ea560c07 # [linux]

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

test:
  commands:
    - kmcp version --help

about:
  home: https://github.com/shenwei356/kmcp
  summary: accurate metagenomic profiling of both prokaryotic and viral populations by pseudo-mapping
  license: MIT

extra:
  skip-lints:
    - should_be_noarch_generic
    - should_not_be_noarch_source
