1{
2 lib,
3 buildDunePackage,
4 fetchurl,
5 angstrom-lwt-unix,
6 lwt,
7 logs,
8 lwt_ppx,
9 ppx_deriving_yojson,
10 ppx_expect,
11 ppx_here,
12 react,
13}:
14
15buildDunePackage rec {
16 pname = "dap";
17 version = "1.0.6";
18 duneVersion = "3";
19 src = fetchurl {
20 url = "https://github.com/hackwaly/ocaml-dap/releases/download/${version}/dap-${version}.tbz";
21 sha256 = "1zq0f8429m38a4x3h9n3rv7n1vsfjbs72pfi5902a89qwyilkcp0";
22 };
23
24 minimalOCamlVersion = "4.08";
25
26 buildInputs = [
27 lwt_ppx
28 ];
29
30 propagatedBuildInputs = [
31 angstrom-lwt-unix
32 logs
33 lwt
34 ppx_deriving_yojson
35 ppx_expect
36 ppx_here
37 react
38 ];
39
40 meta = {
41 description = "Debug adapter protocol";
42 homepage = "https://github.com/hackwaly/ocaml-dap";
43 license = lib.licenses.mit;
44 };
45}