{% set version = "3.5.0" %}
{% set sha256 = "065c3f46672068d8b640150cf35c3d31300ee8b937c09a14a31b293329cb2123" %}

package:
  name: hmftools-orange
  version: '{{ version }}'

source:
  url: 'https://github.com/hartwigmedical/hmftools/releases/download/orange-v{{ version }}/orange_v{{ version }}.jar'
  sha256: '{{ sha256 }}'

build:
  noarch: generic
  number: 0
  run_exports:
    - {{ pin_subpackage('hmftools-orange', max_pin="x") }}

requirements:
  run:
    - zlib
    - openjdk >=8

test:
  commands:
    - 'orange 2>&1 | grep -q "ORANGE"'

about:
  home: https://github.com/hartwigmedical/hmftools/blob/master/orange/README.md
  license:  "GNU General Public v3 (GPLv3)"
  license_family: GPL3
  summary: ORANGE summarizes the key outputs from all algorithms in the Hartwig suite.
