{% set version = '2.3.1' %}

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

source:
  url: https://github.com/GATB/dsk/archive/v{{ version }}.tar.gz
  md5: f9a08093bc086789574e2e12cbcc9754
  patches:
    - install_paths.patch

build:
  number: 0
  # Requires clang>=4.5
  skip: True  # [osx]

requirements:
  build:
    - cmake
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
  host:
    - zlib
    - cppunit
  run:
    - zlib

test:
  commands:
    - dsk -help

about:
  home: https://github.com/GATB/dsk/
  license: AGPL-3.0
  license_file: LICENSE
  summary: DSK is a k-mer counter for reads or genomes.

extra:
  identifiers:
    - biotools:dsk
    - doi:10.1093/bioinformatics/btt020
