# This file created by conda-build 24.5.1
# meta.yaml template originally from:
# /opt/recipe, last modified Tue Jun  4 19:35:16 2024
# ------------------------------------------------

package:
  name: htslib
  version: '1.20'
source:
  patches:
    - arm_hwcap.patch
  sha256: e52d95b14da68e0cfd7d27faf56fef2f88c2eaf32a2be51c72e146e3aa928544
  url: https://github.com/samtools/htslib/releases/download/1.20/htslib-1.20.tar.bz2
build:
  number: '1'
  run_exports:
    - htslib >=1.20,<1.21.0a0
  string: h5efdd21_1
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - binutils_impl_linux-64 2.40 ha1999f0_2
    - binutils_linux-64 2.40 hdade7a5_3
    - gcc_impl_linux-64 12.3.0 h58ffeeb_7
    - gcc_linux-64 12.3.0 h6477408_3
    - kernel-headers_linux-64 2.6.32 he073ed8_17
    - ld_impl_linux-64 2.40 hf3520f5_2
    - libgcc-devel_linux-64 12.3.0 h0223996_107
    - libgcc-ng 13.2.0 h77fa898_7
    - libgomp 13.2.0 h77fa898_7
    - libsanitizer 12.3.0 hb8811af_7
    - libstdcxx-ng 13.2.0 hc0a3c3a_7
    - make 4.3 hd18ef5c_1
    - sysroot_linux-64 2.12 he073ed8_17
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - bzip2 1.0.8 hd590300_5
    - c-ares 1.28.1 hd590300_0
    - ca-certificates 2024.6.2 hbcca054_0
    - keyutils 1.6.1 h166bdaf_0
    - krb5 1.21.2 h659d440_0
    - libcurl 8.8.0 hca28451_0
    - libdeflate 1.20 hd590300_0
    - libedit 3.1.20191231 he28a2e2_2
    - libev 4.33 hd590300_2
    - libgcc-ng 13.2.0 h77fa898_7
    - libgomp 13.2.0 h77fa898_7
    - libnghttp2 1.58.0 h47da74e_1
    - libssh2 1.11.0 h0841786_0
    - libstdcxx-ng 13.2.0 hc0a3c3a_7
    - libzlib 1.2.13 h4ab18f5_6
    - ncurses 6.5 h59595ed_0
    - openssl 3.3.0 h4ab18f5_3
    - xz 5.2.6 h166bdaf_0
    - zlib 1.2.13 h4ab18f5_6
    - zstd 1.5.6 ha6fb4c9_0
  run:
    - bzip2 >=1.0.8,<2.0a0
    - libcurl >=8.8.0,<9.0a0
    - libdeflate >=1.20,<1.21.0a0
    - libgcc-ng >=12
    - libzlib >=1.2.13,<2.0a0
    - openssl >=3.3.0,<4.0a0
    - xz >=5.2.6,<6.0a0
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:
  doc_url: http://www.htslib.org/
  home: https://github.com/samtools/htslib
  license: MIT
  license_family: MIT
  license_file: LICENSE
  summary: C library for high-throughput sequencing data formats.
extra:
  additional-platforms:
    - linux-aarch64
  copy_test_source_files: true
  final: true
  identifiers:
    - biotools:HTSlib
  skip-lints:
    - in_other_channels
