2024-07-27 06:49:29 +00:00
|
|
|
{ lib, fetchFromGitHub, buildDunePackage
|
2021-06-06 07:54:09 +00:00
|
|
|
, cmdliner, dap, fmt, iter, logs, lru, lwt_ppx, lwt_react, menhir, menhirLib, path_glob, ppx_deriving_yojson
|
2023-10-09 19:29:22 +00:00
|
|
|
, ppx_optcomp
|
2022-10-30 15:09:59 +00:00
|
|
|
, gitUpdater
|
2021-04-22 02:08:21 +00:00
|
|
|
}:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "earlybird";
|
2024-05-15 15:35:15 +00:00
|
|
|
version = "1.3.2";
|
2020-12-03 08:41:04 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
minimalOCamlVersion = "4.12";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hackwaly";
|
|
|
|
repo = "ocamlearlybird";
|
|
|
|
rev = version;
|
2024-05-15 15:35:15 +00:00
|
|
|
hash = "sha256-E6ZZRkGO6Bqr6jWlV9fL3ibFwUVChHR17TPGeP94hfk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2023-02-09 11:40:11 +00:00
|
|
|
nativeBuildInputs = [ menhir ];
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
buildInputs = [
|
|
|
|
cmdliner
|
|
|
|
dap
|
|
|
|
fmt
|
|
|
|
iter
|
|
|
|
logs
|
|
|
|
lru
|
|
|
|
lwt_ppx
|
|
|
|
lwt_react
|
|
|
|
menhirLib
|
|
|
|
path_glob
|
|
|
|
ppx_deriving_yojson
|
|
|
|
ppx_optcomp
|
|
|
|
];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2022-10-30 15:09:59 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/hackwaly/ocamlearlybird";
|
|
|
|
description = "OCaml debug adapter";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|