diff --git a/dev-ml/uri/Manifest b/dev-ml/uri/Manifest new file mode 100644 index 0000000000..98fec78845 --- /dev/null +++ b/dev-ml/uri/Manifest @@ -0,0 +1 @@ +DIST ocaml-uri-4.2.0.tar.gz 231300 BLAKE2B d73ca1dc1bb372cf160dfb2a1730132fa5139a68b97bf59554f75754dc57b5d83eaf5bc14c6e1962a9f01dcf98b3f10e9eec10d4cd4701073ebfd2b3d443098f SHA512 25510db4d6a5491ab02e7c62360f91b95e6cd3b5892311c7d3ef159be15906eab849728f96687082852e1ab8ff6e3d9f51831229780abc4ed8cb6acff50aa1b9 diff --git a/dev-ml/uri/metadata.xml b/dev-ml/uri/metadata.xml new file mode 100644 index 0000000000..982af7c50a --- /dev/null +++ b/dev-ml/uri/metadata.xml @@ -0,0 +1,12 @@ + + + + + co-maintainers welcome + lssndrbarbieri@gmail.com + Alessandro Barbieri + + + mirage/ocaml-uri + + diff --git a/dev-ml/uri/uri-4.2.0.ebuild b/dev-ml/uri/uri-4.2.0.ebuild new file mode 100644 index 0000000000..e8103d4f00 --- /dev/null +++ b/dev-ml/uri/uri-4.2.0.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit dune + +DESCRIPTION="RFC3986 URI parsing library for OCaml" +HOMEPAGE="https://github.com/mirage/ocaml-uri" +SRC_URI="https://github.com/mirage/ocaml-uri/archive/v${PV}.tar.gz -> ocaml-${P}.tar.gz" +S="${WORKDIR}/ocaml-${P}" + +LICENSE="ISC" +SLOT="0/${PV}" +KEYWORDS="~amd64" +IUSE="ocamlopt" + +RDEPEND=" + dev-ml/angstrom + dev-ml/ppx_sexp_conv + dev-ml/re + dev-ml/sexplib0 + dev-ml/stringext +" +DEPEND="${RDEPEND}" + +src_install() { + dune_src_install uri + dune_src_install uri-re + dune_src_install uri-sexp +}