# This file created by conda-build 24.7.1
# meta.yaml template originally from:
# /opt/recipe, last modified Thu Jul 24 12:51:28 2025
# ------------------------------------------------

package:
  name: metadmg
  version: 0.4.2
source:
  git_rev: v0.4.2
  git_url: https://github.com/metaDMG-dev/metaDMG-cpp.git
  patches:
    - 0001-Makefile.patch
  sha256: e86b715323dd59c5087fb837306db324be19aaf7b4a1d4d8eb0b2894600da87b
build:
  number: '0'
  run_exports:
    - metadmg >=0.4.2,<0.5.0a0
  string: h2d82557_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
    - gxx_impl_linux-64 13.3.0 hae580e1_2
    - gxx_linux-64 13.3.0 hb14504d_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
    - libgcc-ng 15.1.0 h69a702a_3
    - libgomp 15.1.0 h767d61c_3
    - libsanitizer 13.3.0 he8ea267_2
    - libstdcxx 15.1.0 h8f9b012_3
    - libstdcxx-devel_linux-64 13.3.0 hc03c837_102
    - make 4.4.1 hb9d3cd8_2
    - pkg-config 0.29.2 h4bc722e_1009
    - 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
    - curl 8.14.1 h332b0f4_0
    - eigen 3.4.0 h00ab1b0_0
    - gsl 2.7 he838d99_0
    - htslib 1.22.1 h566b1c6_0
    - keyutils 1.6.1 h166bdaf_0
    - krb5 1.21.3 h659f571_0
    - libblas 3.9.0 32_h59b9bed_openblas
    - libcblas 3.9.0 32_he106b2a_openblas
    - 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
    - libgfortran 15.1.0 h69a702a_3
    - libgfortran5 15.1.0 hcea5267_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
    - libopenblas 0.3.30 pthreads_h94d23a6_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
    - eigen
    - gsl >=2.7,<2.8.0a0
    - htslib >=1.22.1,<1.23.0a0
    - libgcc >=13
    - liblzma >=5.8.1,<6.0a0
    - libstdcxx >=13
    - libzlib >=1.3.1,<2.0a0
    - openssl >=3.5.1,<4.0a0
test:
  commands:
    - metaDMG-cpp 2>&1 | grep 'metaDMG-cpp'
    - metaDMG-cpp getdamage 2>&1 | grep 'getdamage'
    - metaDMG-cpp lca 2>&1 | grep 'lca'
    - compressbam 2>&1 | grep 'compressbam'
    - extract_reads 2>&1 | grep 'extract_reads'
about:
  dev_url: https://github.com/metaDMG-dev/metaDMG-cpp
  doc_url: https://github.com/metaDMG-dev/metaDMG-cpp/blob/v0.4.2/README.md
  home: https://github.com/metaDMG-dev/metaDMG-cpp
  license: GPL-3.0-or-later, MIT
  license_family: GPL3
  summary: 'metaDMG-cpp: fast and efficient method for estimating mutation and damage
    rates in ancient DNA data.'
extra:
  additional-platforms:
    - linux-aarch64
    - osx-arm64
  copy_test_source_files: true
  final: true
  identifiers:
    - doi:10.1101/2022.12.06.519264
  recipe-maintainers:
    - ANGSD
    - rahenriksen
  skip-lints:
    - uses_vcs_url
