{% set version = "4.4.2" %}

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

build:
  number: 0
  # Skipping macOS builds due to unresolved linking error:
  #  Undefined symbols for architecture x86_64:
  #    "_SSLCopyALPNProtocols", referenced from:
  #        _sectransp_connect_step2 in libcurl_sys-c372a728cc50d01a.rlib(sectransp.o)
  #    "_SSLSetALPNProtocols", referenced from:
  #        _sectransp_connect_common in libcurl_sys-c372a728cc50d01a.rlib(sectransp.o)
  skip: True  # [osx]

source:
  url: https://github.com/varlociraptor/varlociraptor/archive/v{{ version }}.tar.gz
  sha256: ea8a8de756724af86b882b6740ac508d08c873917e50b50999e4e612e3cc88f2

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('cxx') }}
    - {{ compiler('rust') }}
    - rust >=1.54
    - pkg-config
    - make
    - cmake
  host:
    - gsl
    - libcblas
    - openssl
    - zlib
    - bzip2
    - xz
    - clangdev
    - blis
  run:
    - blis

test:
  commands:
    - varlociraptor -h

about:
  home: https://varlociraptor.github.io
  license: GPLv3
  license_family: GPL
  summary: Flexible, uncertainty-aware variant calling with parameter free filtration via FDR control.
