dev-ml/pbkdf: add 1.2.0

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

View File

@@ -0,0 +1,33 @@
# 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 )"