# This file created by conda-build 24.5.1
# meta.yaml template originally from:
# /Users/runner/work/1/s/recipes/htslib, last modified Thu Sep 12 20:25:51 2024
# ------------------------------------------------

package:
  name: htslib
  version: '1.21'
source:
  patches:
    - arm_hwcap.patch
  sha256: 84b510e735f4963641f26fd88c8abdee81ff4cb62168310ae716636aac0f1823
  url: https://github.com/samtools/htslib/releases/download/1.21/htslib-1.21.tar.bz2
build:
  number: '0'
  run_exports:
    - htslib >=1.21,<1.22.0a0
  string: hec81eee_0
requirements:
  build:
    - ca-certificates 2024.8.30 h8857fd0_0
    - cctools_osx-64 1009.2 heaa7f0c_0
    - clang 16.0.6 default_h179603d_13
    - clang-16 16.0.6 default_h0c94c6a_13
    - clang_impl_osx-64 16.0.6 h8787910_19
    - clang_osx-64 16.0.6 hb91bd55_19
    - clangxx 16.0.6 default_h179603d_13
    - compiler-rt 16.0.6 ha38d28d_2
    - compiler-rt_osx-64 16.0.6 ha38d28d_2
    - icu 75.1 h120a0e1_0
    - ld64_osx-64 907 h3516399_0
    - libclang-cpp16 16.0.6 default_h0c94c6a_13
    - libcxx 18.1.8 hd876a4e_7
    - libcxx-devel 16.0.6 h8f8a49f_2
    - libiconv 1.17 hd75f5a5_2
    - libllvm16 16.0.6 hbedff68_3
    - libxml2 2.12.7 heaf3512_4
    - libzlib 1.3.1 h87427d6_1
    - llvm-tools 16.0.6 hbedff68_3
    - make 4.4.1 h00291cd_1
    - ncurses 6.5 hf036a51_1
    - openssl 3.3.2 hd23fc13_0
    - sigtool 0.1.3 h88f4db0_0
    - tapi 1300.6.5 h390ca13_0
    - xz 5.2.6 h775f41a_0
    - zstd 1.5.6 h915ae27_0
  host:
    - bzip2 1.0.8 hfdf4475_7
    - c-ares 1.33.1 h44e7173_0
    - ca-certificates 2024.8.30 h8857fd0_0
    - krb5 1.21.3 h37d8d59_0
    - libcurl 8.8.0 hf9fcc65_1
    - libcxx 18.1.8 hd876a4e_7
    - libdeflate 1.20 h49d49c5_0
    - libedit 3.1.20191231 h0678c8f_2
    - libev 4.33 h10d778d_2
    - libnghttp2 1.58.0 h64cf6d3_1
    - libssh2 1.11.0 hd019ec5_0
    - libzlib 1.2.13 h87427d6_6
    - ncurses 6.5 hf036a51_1
    - openssl 3.3.2 hd23fc13_0
    - xz 5.2.6 h775f41a_0
    - zlib 1.2.13 h87427d6_6
    - zstd 1.5.6 h915ae27_0
  run:
    - bzip2 >=1.0.8,<2.0a0
    - libcurl >=8.8.0,<9.0a0
    - libdeflate >=1.20,<1.21.0a0
    - libzlib >=1.2.13,<2.0a0
    - xz >=5.2.6,<6.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:
  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
