39 lines
573 B
Nix
39 lines
573 B
Nix
|
|
{
|
||
|
|
lib,
|
||
|
|
mlx,
|
||
|
|
buildDunePackage,
|
||
|
|
ppxlib,
|
||
|
|
merlin-lib,
|
||
|
|
cppo,
|
||
|
|
csexp,
|
||
|
|
menhir,
|
||
|
|
odoc,
|
||
|
|
}:
|
||
|
|
buildDunePackage {
|
||
|
|
pname = "ocamlmerlin-mlx";
|
||
|
|
|
||
|
|
inherit (mlx) version src;
|
||
|
|
|
||
|
|
minimalOCamlVersion = "4.14";
|
||
|
|
|
||
|
|
buildInputs = [
|
||
|
|
ppxlib
|
||
|
|
merlin-lib
|
||
|
|
csexp
|
||
|
|
menhir
|
||
|
|
odoc
|
||
|
|
];
|
||
|
|
|
||
|
|
nativeBuildInputs = [
|
||
|
|
cppo
|
||
|
|
];
|
||
|
|
|
||
|
|
meta = {
|
||
|
|
description = "Merlin support for MLX OCaml dialect";
|
||
|
|
homepage = "https://github.com/ocaml-mlx/mlx";
|
||
|
|
license = lib.licenses.mit;
|
||
|
|
maintainers = [ lib.maintainers.Denommus ];
|
||
|
|
mainProgram = "ocamlmerlin-mlx";
|
||
|
|
};
|
||
|
|
}
|