aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ml/pbkdf/Manifest1
-rw-r--r--dev-ml/pbkdf/pbkdf-1.2.0.ebuild33
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-ml/pbkdf/Manifest b/dev-ml/pbkdf/Manifest
index 32c5f4f37..7e7023f69 100644
--- a/dev-ml/pbkdf/Manifest
+++ b/dev-ml/pbkdf/Manifest
@@ -1 +1,2 @@
DIST pbkdf-1.1.0.tbz 5237 BLAKE2B 80d7e1984f30c73cfe846b665c01a4b417553430c2d0363bb5c1088fa390ccbf5d2d99106181b2ea2a91db0ecf23cc8bf361b59d58ce34c2578fe6a841b01ddf SHA512 7c31f5470b9028a5f0b3baf670494f26c632af0449e59911efbe126d71e69fe8ebd73522f4fc96761cd71b67125579a5bbd75762f8753f9fb8c746f98bbb0aa5
+DIST pbkdf-1.2.0.tar.gz 5602 BLAKE2B ccce1c7559da39423a53b00a9ec0cd99d48e0b337eac434a047ded29b8a5f1fe0949a6bf9142e93a544d8b7743fe84788f827c9ccc439bb38dba3cb6af12cc0f SHA512 d6f7d5efd761b87dd420ddcf97c2f9d4402dcc81d65cd1f4d81039b70c4d8c1e803bbaf4251482de8de7076da9f40b48c7eb1684e31e7a316deb5036c192bd3c
diff --git a/dev-ml/pbkdf/pbkdf-1.2.0.ebuild b/dev-ml/pbkdf/pbkdf-1.2.0.ebuild
new file mode 100644
index 000000000..08fbd39be
--- /dev/null
+++ b/dev-ml/pbkdf/pbkdf-1.2.0.ebuild
@@ -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 )"