summaryrefslogtreecommitdiff
path: root/dev-ml
diff options
context:
space:
mode:
authorMaciej Barć <xgqt@gentoo.org>2022-10-23 11:08:47 +0200
committerMaciej Barć <xgqt@gentoo.org>2022-10-23 11:27:19 +0200
commit09f59ad97f844aa1cbaf5ae32ad339bff4b2e292 (patch)
tree089bbcaa37c6492285abef60d64215ef725927e5 /dev-ml
parentdev-ml/yojson: hard block seq lower than 0.3 (diff)
downloadgentoo-09f59ad97f844aa1cbaf5ae32ad339bff4b2e292.tar.gz
gentoo-09f59ad97f844aa1cbaf5ae32ad339bff4b2e292.tar.bz2
gentoo-09f59ad97f844aa1cbaf5ae32ad339bff4b2e292.zip
dev-ml/atd: new package; add 2.10.0
Signed-off-by: Maciej Barć <xgqt@gentoo.org>
Diffstat (limited to 'dev-ml')
-rw-r--r--dev-ml/atd/Manifest1
-rw-r--r--dev-ml/atd/atd-2.10.0.ebuild39
-rw-r--r--dev-ml/atd/metadata.xml18
3 files changed, 58 insertions, 0 deletions
diff --git a/dev-ml/atd/Manifest b/dev-ml/atd/Manifest
new file mode 100644
index 000000000000..2450df1409c8
--- /dev/null
+++ b/dev-ml/atd/Manifest
@@ -0,0 +1 @@
+DIST atd-2.10.0.tar.gz 3294787 BLAKE2B 7ef136e795a567eddc064986e1b78f3bbccf0433485c75742a989e7f48ca91b55444f01def67210c55de74f9283ee0316e6de0d38fc6d40a5ff499f16f0cbd63 SHA512 1f5ccd44cb5d7f41745d6399517f6b61c4dfc698a70f24594805ac07e0be240e2a44c1d992ad48622ed85a23384ecaab111b78e76e8e050d25d857356c3bf45b
diff --git a/dev-ml/atd/atd-2.10.0.ebuild b/dev-ml/atd/atd-2.10.0.ebuild
new file mode 100644
index 000000000000..9cbb64e8703c
--- /dev/null
+++ b/dev-ml/atd/atd-2.10.0.ebuild
@@ -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
+}
diff --git a/dev-ml/atd/metadata.xml b/dev-ml/atd/metadata.xml
new file mode 100644
index 000000000000..870e84707bdb
--- /dev/null
+++ b/dev-ml/atd/metadata.xml
@@ -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>