{% set version = "1.1.0" %}

package:
  name: ntjoin
  version: {{ version }}

source:
  url: https://github.com/bcgsc/ntJoin/releases/download/v{{ version }}/ntJoin-{{ version }}.tar.gz 
  sha256: 727d8786ecf7717f3ee3922f667ef99fc19eea67d5e0f3f27ddf2fe9eac1b862 

build:
  number: 0
  skip: True  # [py<38]

requirements:
  build:
    - {{ compiler('cxx') }}
  host:
    - cmake
    - ninja
    - meson
    - make
    - llvm-openmp  # [osx]
    - libgomp      # [linux]
    - python
    - pip
    - zlib
  run:
    - python-igraph
    - pybedtools
    - pymannkendall
    - bedtools >=2.21.0
    - pysam >=0.16.0
    - samtools >=1.10
    - python
    - zlib
    - make

test:
  commands:
    - ntJoin help 
    - samtools --help

about:
  home: http://www.bcgsc.ca/platform/bioinfo/software/ntjoin
  license: GPL-3.0
  license_file: LICENSE
  summary: 'Genome assembly scaffolder using minimizer graphs'
