# This file created by conda-build 24.7.1
# meta.yaml template originally from:
# /opt/recipe, last modified Mon Jul 14 19:45:41 2025
# ------------------------------------------------

package:
  name: htslib
  version: 1.22.1
source:
  patches:
    - arm_hwcap.patch
  sha256: 3dfa6eeb71db719907fe3ef7c72cb2ec9965b20b58036547c858c89b58c342f7
  url: https://github.com/samtools/htslib/releases/download/1.22.1/htslib-1.22.1.tar.bz2
build:
  number: '0'
  run_exports:
    - htslib >=1.22.1,<1.23.0a0
  string: h566b1c6_0
requirements:
  build:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - binutils_impl_linux-64 2.44 h4bf12b8_1
    - binutils_linux-64 2.44 h4852527_1
    - gcc_impl_linux-64 13.3.0 h1e990d8_2
    - gcc_linux-64 13.3.0 h6f18a23_11
    - kernel-headers_linux-64 3.10.0 he073ed8_18
    - ld_impl_linux-64 2.44 h1423503_1
    - libgcc 15.1.0 h767d61c_3
    - libgcc-devel_linux-64 13.3.0 hc03c837_102
    - libgomp 15.1.0 h767d61c_3
    - libsanitizer 13.3.0 he8ea267_2
    - libstdcxx 15.1.0 h8f9b012_3
    - make 4.4.1 hb9d3cd8_2
    - sysroot_linux-64 2.17 h0157908_18
    - tzdata 2025b h78e105d_0
  host:
    - _libgcc_mutex 0.1 conda_forge
    - _openmp_mutex 4.5 2_gnu
    - bzip2 1.0.8 h4bc722e_7
    - c-ares 1.34.5 hb9d3cd8_0
    - ca-certificates 2025.7.14 hbd8a1cb_0
    - keyutils 1.6.1 h166bdaf_0
    - krb5 1.21.3 h659f571_0
    - libcurl 8.14.1 h332b0f4_0
    - libdeflate 1.22 hb9d3cd8_0
    - libedit 3.1.20250104 pl5321h7949ede_0
    - libev 4.33 hd590300_2
    - libgcc 15.1.0 h767d61c_3
    - libgcc-ng 15.1.0 h69a702a_3
    - libgomp 15.1.0 h767d61c_3
    - liblzma 5.8.1 hb9d3cd8_2
    - liblzma-devel 5.8.1 hb9d3cd8_2
    - libnghttp2 1.64.0 h161d5f1_0
    - libssh2 1.11.1 hcf80075_0
    - libstdcxx 15.1.0 h8f9b012_3
    - libstdcxx-ng 15.1.0 h4852527_3
    - libzlib 1.3.1 hb9d3cd8_2
    - ncurses 6.5 h2d0b736_3
    - openssl 3.5.1 h7b32b05_0
    - xz 5.8.1 hbcc6ac9_2
    - xz-gpl-tools 5.8.1 hbcc6ac9_2
    - xz-tools 5.8.1 hb9d3cd8_2
    - zlib 1.3.1 hb9d3cd8_2
    - zstd 1.5.7 hb8e6e7a_2
  run:
    - bzip2 >=1.0.8,<2.0a0
    - libcurl >=8.14.1,<9.0a0
    - libdeflate >=1.22,<1.23.0a0
    - libgcc >=13
    - liblzma >=5.8.1,<6.0a0
    - libzlib >=1.3.1,<2.0a0
    - openssl >=3.5.1,<4.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
    - osx-arm64
  copy_test_source_files: true
  final: true
  identifiers:
    - biotools:HTSlib
  skip-lints:
    - in_other_channels
