{% set version = "0.34.0" %}
{% set sha256 = "cd8a9ffc5ea5e21feb20a3da113431a332841d3737d712c03b6224bb4079ea6a" %}

package:
  name: breseq
  version: '{{ version }}'

source:
  url: https://github.com/barricklab/breseq/releases/download/v{{ version }}/breseq-{{ version }}-Source.tar.gz
  sha256: '{{ sha256 }}'
  patches:
    - disable-compiler-version-check.patch

build:
  number: 0

requirements:
  build:
    - '{{ compiler("c") }}'
    - '{{ compiler("cxx") }}'
  host:
    - zlib
  run:
    - zlib
    - r-base
    - bowtie2 >=2.0.0,!=2.0.3,!=2.0.4,!=2.3.1

test:
  commands:
    - breseq --help 2>&1 | grep Usage
    - gdtools --help 2>&1 | grep Usage

about:
  home: https://github.com/barricklab/breseq
  license: GPL-3.0
  license_family: GPL
  license_file: COPYING
  summary: A computational pipeline for finding mutations relative to a reference sequence in short-read DNA re-sequencing
    data.
