dev-ml/lsp: new package, add 1.18.0

Signed-off-by: Hiroki Tokunaga <tokusan441@gmail.com>
This commit is contained in:
Hiroki Tokunaga
2024-07-29 21:20:23 +09:00
parent 6f5afa1dbc
commit 48664201ae
3 changed files with 55 additions and 0 deletions

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

@@ -0,0 +1 @@
DIST lsp-1.18.0.tar.gz 908930 BLAKE2B 9b58b7a09442e6f63d914561de14693e6a9557636b14d0c440739c2eb11ba6cabf282ee5e049ec579ba65bd84cebba8b653b5ccef8e9419886bec37dcfcf7cab SHA512 cdf4178015ef1058b148d4d682e329eae1ac8c1e3783eba983a353e7219e657d255dd013989ece4a31d28a0b969720642f1557d324d35adaf12919a46a1b0386

View File

@@ -0,0 +1,41 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit dune
DESCRIPTION="LSP protocol implementation in OCaml"
HOMEPAGE="
https://opam.ocaml.org/packages/lsp/
https://github.com/ocaml/ocaml-lsp/
"
SRC_URI="https://github.com/ocaml/ocaml-lsp/archive/${PV}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/ocaml-lsp-${PV}"
LICENSE="ISC"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE="ocamlopt"
RESTRICT="test"
RDEPEND="
>=dev-lang/ocaml-4.14:=
>=dev-ml/dune-3.0:=
~dev-ml/jsonrpc-${PV}:=
dev-ml/yojson:=
>=dev-ml/ppx_yojson_conv_lib-0.14:=
>=dev-ml/uutf-1.0.2:=
"
DEPEND="
${RDEPEND}
"
src_compile() {
dune-compile lsp
}

13
dev-ml/lsp/metadata.xml Normal file
View File

@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>tokusan441@gmail.com</email>
<name>Hiroki Tokunaga</name>
</maintainer>
<longdescription lang="en">Implementation of the LSP protocol in OCaml. It is designed to be as portable as possible and does not make any assumptions about IO.</longdescription>
<upstream>
<bugs-to>https://github.com/ocaml/ocaml-lsp/issues</bugs-to>
<remote-id type="github">ocaml/ocaml-lsp</remote-id>
</upstream>
</pkgmetadata>