# This file created by conda-build 3.24.0
# meta.yaml template originally from:
# /opt/recipe, last modified Mon May 15 19:51:49 2023
# ------------------------------------------------

package:
  name: htslib
  version: '1.17'
source:
  sha256: 763779288c40f07646ec7ad98b96c378c739171d162ad98398868783b721839f
  url: https://github.com/samtools/htslib/releases/download/1.17/htslib-1.17.tar.bz2
build:
  number: '2'
  run_exports:
    - htslib >=1.17,<1.18.0a0
  string: h81da01d_2
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - binutils_impl_linux-64 2.39 he00db2b_1
    - binutils_linux-64 2.39 h5fc0e48_13
    - gcc_impl_linux-64 12.2.0 hcc96c02_19
    - gcc_linux-64 12.2.0 h4798a0e_13
    - kernel-headers_linux-64 2.6.32 he073ed8_15
    - ld_impl_linux-64 2.39 hcc3a1bd_1
    - libgcc-devel_linux-64 12.2.0 h3b97bd3_19
    - libgcc-ng 12.2.0 h65d4601_19
    - libgomp 12.2.0 h65d4601_19
    - libsanitizer 12.2.0 h46fd767_19
    - libstdcxx-ng 12.2.0 h46fd767_19
    - make 4.3 hd18ef5c_1
    - sysroot_linux-64 2.12 he073ed8_15
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - bzip2 1.0.8 h7f98852_4
    - c-ares 1.18.1 h7f98852_0
    - ca-certificates 2023.5.7 hbcca054_0
    - keyutils 1.6.1 h166bdaf_0
    - krb5 1.20.1 h81ceb04_0
    - libcurl 8.0.1 h588be90_0
    - libdeflate 1.18 h0b41bf4_0
    - libedit 3.1.20191231 he28a2e2_2
    - libev 4.33 h516909a_1
    - libgcc-ng 12.2.0 h65d4601_19
    - libgomp 12.2.0 h65d4601_19
    - libnghttp2 1.52.0 h61bc06f_0
    - libssh2 1.10.0 hf14f497_3
    - libstdcxx-ng 12.2.0 h46fd767_19
    - libzlib 1.2.13 h166bdaf_4
    - ncurses 6.3 h27087fc_1
    - openssl 3.1.0 hd590300_3
    - xz 5.2.6 h166bdaf_0
    - zlib 1.2.13 h166bdaf_4
    - zstd 1.5.2 h3eb15da_6
  run:
    - bzip2 >=1.0.8,<2.0a0
    - libcurl >=8.0.1,<9.0a0
    - libdeflate >=1.18,<1.19.0a0
    - libgcc-ng >=12
    - libzlib >=1.2.13,<1.3.0a0
    - openssl >=3.1.0,<4.0a0
    - xz >=5.2.6,<6.0a0
    - zlib
test:
  commands:
    - ldd $PREFIX/bin/bgzip | grep deflate
    - test -e test1.bed || printf 'chr1\t100\t200\n' > test1.bed
    - bgzip test1.bed
    - tabix test1.bed.gz
    - htsfile test1.bed.gz
  files:
    - test1.bed
about:
  home: https://github.com/samtools/htslib
  license: MIT
  summary: C library for high-throughput sequencing data formats.
extra:
  copy_test_source_files: true
  final: true
  identifiers:
    - biotools:HTSlib
  skip-lints:
    - in_other_channels
