2022-10-23 11:05:07 +00:00
|
|
|
{ lib, fetchFromGitHub, ocaml, buildDunePackage
|
2021-05-29 13:50:56 +00:00
|
|
|
, cmdliner, dap, fmt, iter, logs, lru, lwt_ppx, lwt_react, menhir, menhirLib, path_glob, ppx_deriving_yojson
|
2023-08-29 20:06:57 +00:00
|
|
|
, ppx_optcomp
|
2022-10-23 11:05:58 +00:00
|
|
|
, gitUpdater
|
2021-04-12 19:59:52 +00:00
|
|
|
}:
|
2019-10-28 02:07:32 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "earlybird";
|
2023-08-29 20:06:57 +00:00
|
|
|
version = "1.2.1";
|
2020-12-01 06:49:29 +00:00
|
|
|
|
2023-08-29 20:06:57 +00:00
|
|
|
minimalOCamlVersion = "4.12";
|
2019-10-28 02:07:32 +00:00
|
|
|
|
2022-10-23 11:05:07 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hackwaly";
|
|
|
|
repo = "ocamlearlybird";
|
|
|
|
rev = version;
|
2023-08-29 20:06:57 +00:00
|
|
|
hash = "sha256-p29uTdx8+mZKXUL+ng/FzpKuhnykEe8Sy968Wa/KUn4=";
|
2019-10-28 02:07:32 +00:00
|
|
|
};
|
|
|
|
|
2022-03-01 15:42:22 +00:00
|
|
|
nativeBuildInputs = [ menhir ];
|
|
|
|
|
2023-08-29 20:06:57 +00:00
|
|
|
buildInputs = [
|
|
|
|
cmdliner
|
|
|
|
dap
|
|
|
|
fmt
|
|
|
|
iter
|
|
|
|
logs
|
|
|
|
lru
|
|
|
|
lwt_ppx
|
|
|
|
lwt_react
|
|
|
|
menhirLib
|
|
|
|
path_glob
|
|
|
|
ppx_deriving_yojson
|
|
|
|
ppx_optcomp
|
|
|
|
];
|
2019-10-28 02:07:32 +00:00
|
|
|
|
2022-10-23 11:05:58 +00:00
|
|
|
passthru.updateScript = gitUpdater { };
|
|
|
|
|
2019-10-28 02:07:32 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "https://github.com/hackwaly/ocamlearlybird";
|
|
|
|
description = "OCaml debug adapter";
|
|
|
|
license = lib.licenses.mit;
|
|
|
|
maintainers = [ lib.maintainers.romildo ];
|
|
|
|
};
|
|
|
|
}
|