# This file created by conda-build 24.7.1
# meta.yaml template originally from:
# /Users/distiller/project/recipes/htslib/1.10, last modified Thu Jun 19 09:04:59 2025
# ------------------------------------------------

package:
  name: htslib
  version: '1.10'
source:
  sha256: 7ae44dd9faeb4c4293e9bb4815164ac28c6c6fae81fed4791df2fa878f57a972
  url: https://github.com/samtools/htslib/releases/download/1.10/htslib-1.10.tar.bz2
build:
  number: '2'
  run_exports:
    - htslib >=1.10,<2.0a0
  string: hfcd771d_2
requirements:
  build:
    - autoconf 2.72 pl5321hd3c70e0_1
    - automake 1.17 pl5321hce30654_0
    - bzip2 1.0.8 h99b78c6_7
    - ca-certificates 2025.6.15 hbd8a1cb_0
    - cctools_osx-arm64 1010.6 h3b4f5d3_6
    - clang 18.1.8 default_h474c9e2_10
    - clang-18 18.1.8 default_hf90f093_10
    - clang_impl_osx-arm64 18.1.8 h2ae9ea5_25
    - clang_osx-arm64 18.1.8 h07b0088_25
    - clangxx 18.1.8 default_h1ffe849_10
    - compiler-rt 18.1.8 h856b3c1_1
    - compiler-rt_osx-arm64 18.1.8 h832e737_1
    - gnuconfig 2020.11.07 hd8ed1ab_0
    - icu 75.1 hfee45f7_0
    - ld64_osx-arm64 951.9 hb6b49e2_6
    - libclang-cpp18.1 18.1.8 default_hf90f093_10
    - libcxx 20.1.7 ha82da77_0
    - libcxx-devel 18.1.8 h6dc3340_8
    - libffi 3.4.6 h1da3d7d_1
    - libglib 2.84.2 hbec27ea_0
    - libiconv 1.18 hfe07756_1
    - libintl 0.24.1 h493aca8_0
    - libllvm18 18.1.8 default_hb458b26_5
    - libltdl 2.4.3a h286801f_0
    - liblzma 5.8.1 h39f12f2_2
    - libtool 2.5.4 h286801f_0
    - libxml2 2.14.4 h19f518e_0
    - libzlib 1.3.1 h8359307_2
    - llvm-tools 18.1.8 default_hb458b26_5
    - llvm-tools-18 18.1.8 default_hb458b26_5
    - m4 1.4.20 h5505292_0
    - make 4.4.1 hc9fafa5_2
    - ncurses 6.5 h5e97a16_3
    - openssl 3.5.0 h81ee809_1
    - pcre2 10.45 ha881caa_0
    - perl 5.32.1 7_h4614cfb_perl5
    - pkg-config 0.29.2 hde07d2e_1009
    - sigtool 0.1.3 h44b9a77_0
    - tapi 1300.6.5 h03f4b80_0
    - zstd 1.5.7 h6491c7d_2
  host:
    - bzip2 1.0.8 h99b78c6_7
    - c-ares 1.34.5 h5505292_0
    - ca-certificates 2025.6.15 hbd8a1cb_0
    - krb5 1.21.3 h237132a_0
    - libcurl 8.14.1 h73640d1_0
    - libcxx 20.1.7 ha82da77_0
    - libdeflate 1.22 hd74edd7_0
    - libedit 3.1.20250104 pl5321hafb1f1b_0
    - libev 4.33 h93a5062_2
    - liblzma 5.8.1 h39f12f2_2
    - liblzma-devel 5.8.1 h39f12f2_2
    - libnghttp2 1.64.0 h6d7220d_0
    - libssh2 1.11.1 h1590b86_0
    - libzlib 1.3.1 h8359307_2
    - ncurses 6.5 h5e97a16_3
    - openssl 3.5.0 h81ee809_1
    - xz 5.8.1 h9a6d368_2
    - xz-gpl-tools 5.8.1 h9a6d368_2
    - xz-tools 5.8.1 h39f12f2_2
    - zlib 1.3.1 h8359307_2
    - zstd 1.5.7 h6491c7d_2
  run:
    - bzip2 >=1.0.8,<2.0a0
    - libcurl >=8.14.1,<9.0a0
    - libdeflate >=1.22,<1.23.0a0
    - liblzma >=5.8.1,<6.0a0
    - libzlib >=1.3.1,<2.0a0
test:
  commands:
    - otool -L $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:
  additional-platforms:
    - linux-aarch64
    - osx-arm64
  copy_test_source_files: true
  final: true
  identifiers:
    - biotools:HTSlib
