{% set version="0.8.0" %}

package:
  name: cannoli
  version: {{ version }}

source:
  url: https://search.maven.org/remotecontent?filepath=org/bdgenomics/cannoli/cannoli-distribution-spark2_2.11/{{ version }}/cannoli-distribution-spark2_2.11-{{ version }}-bin.tar.gz
  sha256: a2f0694cead2fa51e68d0485676b611fd7b0fd500c835934eef6f5d2322d6873

build:
  number: 0
  noarch: generic

requirements:
  run:
    - openjdk >=8,<9
    - pyspark

test:
  commands:
    - cannoli-submit --help
    - cannoli-submit bedtoolsIntersect --help

about:
  home: https://github.com/bigdatagenomics/cannoli
  license: Apache 2
  summary: Distributed execution of bioinformatics tools on Apache Spark
