dev-ml/eqaf: add 0.8

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-16 02:22:46 +02:00
parent 7a34dbf2a1
commit 9d58ec2e17
2 changed files with 37 additions and 0 deletions

View File

@@ -0,0 +1,36 @@
# Copyright 2019-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MY_P="${PN}-v${PV}"
DESCRIPTION="Constant time equal function to avoid timing attacks in OCaml"
HOMEPAGE="
https://github.com/mirage/eqaf
https://opam.ocaml.org/packages/eqaf/
"
SRC_URI="https://github.com/mirage/eqaf/releases/download/v${PV}/${MY_P}.tbz"
S="${WORKDIR}/${MY_P}"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
>=dev-lang/ocaml-4.07.0:=[ocamlopt?]
>=dev-ml/cstruct-1.1.0:=
"
DEPEND="
${RDEPEND}
test? (
dev-ml/ocaml-base64
dev-ml/alcotest
dev-ml/crowbar
)
"
RESTRICT="!test? ( test )"