Files
guru/dev-ml/pbkdf/pbkdf-1.2.0.ebuild
Alessandro Barbieri 7a34dbf2a1 dev-ml/pbkdf: add 1.2.0
Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
2022-04-16 02:29:41 +02:00

34 lines
694 B
Bash

# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MYPN="ocaml-${PN}"
DESCRIPTION="Password based key derivation functions (PBKDF) from PKCS#5"
HOMEPAGE="
https://github.com/abeaumont/ocaml-pbkdf
https://opam.ocaml.org/packages/pbkdf/
"
SRC_URI="https://github.com/abeaumont/${MYPN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${MYPN}-${PV}"
LICENSE="BSD-2"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
>=dev-lang/ocaml-4.07.0:=[ocamlopt?]
>=dev-ml/cstruct-6.0.0:=
dev-ml/mirage-crypto
"
DEPEND="
${RDEPEND}
test? ( >=dev-ml/alcotest-0.8.1 )
"
RESTRICT="!test? ( test )"