summaryrefslogtreecommitdiff
path: root/dev-ml/jsonrpc/jsonrpc-1.19.0.ebuild
blob: f19cf347121f3881ea5143207a33fb20bd7aa7b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit dune

DESCRIPTION="Jsonrpc protocol implementation"
HOMEPAGE="
	https://opam.ocaml.org/packages/jsonrpc/
	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.08:=
"

DEPEND="
	${RDEPEND}
"

BDEPEND="
	>=dev-ml/dune-3.0:=
"

src_compile() {
	dune-compile jsonrpc
}