dev-ml/hkdf: initial import

Signed-off-by: Alessandro Barbieri <lssndrbarbieri@gmail.com>
This commit is contained in:
Alessandro Barbieri
2022-04-06 22:37:31 +02:00
parent 145e4902ca
commit 82a3dd3ac8
3 changed files with 42 additions and 0 deletions

1
dev-ml/hkdf/Manifest Normal file
View File

@@ -0,0 +1 @@
DIST hkdf-v1.0.4.tbz 11592 BLAKE2B 5c777f92ac8ad52bbe5c9e2383fa2cb705b793a3fcdedee16c37b69c6c0848b89682e168a9be56d020ab51a7d0195a379d23c23a420874c7fc6772540388c670 SHA512 d08e50857f7761572adc4d382975fde5808898c1d92d9e6e943a496cba8780ffabe1edf67844063b70d9727c0fe10b24391e001a3f65c978a5326ac82199cc88

View File

@@ -0,0 +1,29 @@
# Copyright 2020-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
MY_P="${PN}-v${PV}"
DESCRIPTION="HMAC-based Extract-and-Expand Key Derivation Function (RFC 5869)"
HOMEPAGE="https://github.com/hannesm/ocaml-hkdf"
SRC_URI="https://github.com/hannesm/ocaml-${PN}/releases/download/v${PV}/${MY_P}.tbz"
S="${WORKDIR}/${MY_P}"
LICENSE="BSD-2"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt test"
RDEPEND="
dev-ml/cstruct
dev-ml/mirage-crypto
"
DEPEND="
${RDEPEND}
test? ( dev-ml/alcotest )
"
RESTRICT="!test? ( test )"

12
dev-ml/hkdf/metadata.xml Normal file
View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<description>co-maintainers welcome</description>
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<upstream>
<remote-id type="github">hannesm/ocaml-hkdf</remote-id>
</upstream>
</pkgmetadata>