{% set name = "slow5tools" %}
{% set version = "1.1.0" %}

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

source:
  url: https://github.com/hasindu2008/slow5tools/releases/download/v{{ version }}/slow5tools-v{{ version }}-release.tar.gz
  sha256: 94b4a1917b80f212ab8d2442f414acb82e6a7c5db25087d89cbe99e4f910caef

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

requirements:
  build:
    - make
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - zlib
    - hdf5
    - wget
  run:
    - zlib
    - hdf5

test:
  commands:
    - slow5tools --help
    - slow5tools --version

about:
  home: https://github.com/hasindu2008/slow5tools
  license: MIT
  license_file: LICENSE
  summary: Toolkit for S/bLOW5 format
  description: 'Slow5tools is a toolkit for converting (FAST5 <-> SLOW5), compressing, viewing, indexing and manipulating data in SLOW5 format.'

