# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune git-r3
DESCRIPTION="Detect root CA certificates from the operating system"
HOMEPAGE="https://github.com/mirage/ca-certs"
EGIT_REPO_URI="https://github.com/mirage/${PN}.git"
LICENSE="ISC"
SLOT="0/${PV}"
IUSE="+ocamlopt test"
RESTRICT="!test? ( test )"
RDEPEND="dev-ml/bos:0=
dev-ml/digestif:0=[ocamlopt?]
dev-ml/fmt:0=[ocamlopt?]
dev-ml/fpath:0=
dev-ml/logs:0=[ocamlopt?]
dev-ml/mirage-crypto:0=[ocamlopt?]
dev-ml/ohex:0=[ocamlopt?]
dev-ml/ptime:0=[ocamlopt?]
dev-ml/x509:0=[ocamlopt?]"
BDEPEND="test? ( dev-ml/alcotest
dev-ml/fmt )"