{% set version = "0.2.3" %}

package:
  name: annembed
  version: {{ version }}

build:
  number: 0
  run_exports:
      - {{ pin_subpackage('annembed', max_pin="x.x") }}
source:
  url: https://github.com/jianshu93/annembed/archive/v{{ version }}.tar.gz
  sha256: 938179601d17f2ceb576519df9bbabcb47de998caa9720cc90de6f0a65e0ef80

requirements:
  build:
    - {{ compiler("cxx") }}
    - {{ compiler('c') }}
    - {{ compiler('rust') }}
    - make
    - cmake
    - openblas
  host:
    - openblas
    - openssl
  run:
    - openblas
    - openssl
test:
  commands:
    - annembed -h

about:
  home: https://github.com/jianshu93/annembed
  license: MIT
  summary: annembed is an ultra-fast and scalable non-linear dimension reduction/embedding algorithm (similar to UMAP or t-SNE) for large-scale biological data

extra:
  additional-platforms:
    - osx-arm64
  maintainers:
   - Jean Pierre-Both
   - Jianshu Zhao
  identifiers:
   - doi:10.1093/nargab/lqae172
