dev-ml/atd: new package; add 2.10.0

Signed-off-by: Maciej Barć <xgqt@gentoo.org>
This commit is contained in:
Maciej Barć
2022-10-23 11:08:47 +02:00
parent 57238c8420
commit 09f59ad97f
3 changed files with 58 additions and 0 deletions

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

@@ -0,0 +1 @@
DIST atd-2.10.0.tar.gz 3294787 BLAKE2B 7ef136e795a567eddc064986e1b78f3bbccf0433485c75742a989e7f48ca91b55444f01def67210c55de74f9283ee0316e6de0d38fc6d40a5ff499f16f0cbd63 SHA512 1f5ccd44cb5d7f41745d6399517f6b61c4dfc698a70f24594805ac07e0be240e2a44c1d992ad48622ed85a23384ecaab111b78e76e8e050d25d857356c3bf45b

View File

@@ -0,0 +1,39 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="Static types for JSON APIs"
HOMEPAGE="https://github.com/ahrefs/atd/"
SRC_URI="https://github.com/ahrefs/atd/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="+ocamlopt"
RESTRICT="test"
RDEPEND="
>=dev-lang/ocaml-4.08:=[ocamlopt?]
>=dev-ml/cmdliner-1.1.1:=
dev-ml/biniou:=
dev-ml/easy-format:=
dev-ml/menhir:=
dev-ml/re:=
dev-ml/yojson:=
"
DEPEND="${RDEPEND}"
src_install() {
dune-install atd \
atdgen \
atdgen-codec-runtime \
atdgen-runtime \
atdj \
atdpy \
atds \
atdts
dodoc CHANGES.md CONTRIBUTING.md README.md
}

18
dev-ml/atd/metadata.xml Normal file
View File

@@ -0,0 +1,18 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>ml@gentoo.org</email>
<name>ML</name>
</maintainer>
<longdescription>
ATD stands for Adaptable Type Definitions. It is a syntax for defining
cross-language data types. It is used as input to generate efficient and
type-safe serializers, deserializers and validators.
</longdescription>
<upstream>
<bugs-to>https://github.com/ahrefs/atd/issues/</bugs-to>
<remote-id type="github">ahrefs/atd</remote-id>
</upstream>
</pkgmetadata>