{% set version="0.23.4" %}

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

source:
  url: https://github.com/OpenGene/fastp/archive/v{{ version }}.tar.gz
  sha256: 4fad6db156e769d46071add8a778a13a5cb5186bc1e1a5f9b1ffd499d84d72b5

build:
  number: 3
  run_exports:
    - {{ pin_subpackage("fastp", max_pin="x.x") }}

requirements:
  build:
    - make
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - isa-l
    - libdeflate
  run:
    - isa-l
    - libdeflate

test:
  commands:
    - fastp --help

extra:
  additional-platforms:
    - linux-aarch64

about:
  home: https://github.com/OpenGene/fastp
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: A ultra-fast FASTQ preprocessor with full features (QC/adapters/trimming/filtering/splitting...)
