{% set version = "1.5.0" %}

package:
  name: merfishtools
  version: {{ version }}

build:
  number: 3
  run_exports:
    - {{ pin_subpackage('merfishtools', max_pin="x") }}
  skip: True # [not py3k or osx]

source:
  url: https://github.com/merfishtools/merfishtools/archive/v{{version}}.tar.gz
  sha256: 5ee49804b88b0ff57c6e4e277954b098bd2e6c21d826aa3c416073aec4dcf208
  patches:
    - fix-build.patch

requirements:
  build:
    - {{ compiler('c') }}
    - {{ compiler('rust') }}
  host:
    - gsl
    - python
    - matplotlib-base
    - numpy
    - pandas
    - openblas
  run:
    - python
    - matplotlib-base
    - numpy
    - pandas
    - gsl
    - openblas

test:
  commands:
    - merfishtools --help
  imports:
    - merfishtools

about:
  home: https://merfishtools.github.io
  license: MIT
  summary: "MERFISHtools implement a Bayesian framework for accurately predicting
  gene or transcript expression from MERFISH data. On top, differential expression
  analysis can be performed for two or multiple conditions, including credible
  intervals for fold change and coefficient of variation, and controlling
  the expected false discovery rate."

extra:
  additional-platforms:
    - linux-aarch64
