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