{% set version = "0.3.0" %}

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

build:
  number: 1
  # 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/koesterlab/microphaser/archive/v{{ version }}.tar.gz
  sha256: 72a85da2735332a63b066ee0471ebf0ea2f380683e7d974431f12828387154b9

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

test:
  commands:
    - microphaser -h

about:
  home: https://github.com/koesterlab/microphaser
  license: MIT
  license_family: MIT
  summary: Phasing small tumor DNA sequences for mutated neopeptide generation from NGS data.
