Skip to content

Commit

Permalink
ocamlPackages.ocamlmerlin-mlx: init at 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
Denommus authored and vbgl committed Jan 6, 2025
1 parent 07587f9 commit 460a521
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
38 changes: 38 additions & 0 deletions pkgs/development/ocaml-modules/mlx/ocamlmerlin-mlx.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
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";
};
}
2 changes: 2 additions & 0 deletions pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1371,6 +1371,8 @@ let

ocamline = callPackage ../development/ocaml-modules/ocamline { };

ocamlmerlin-mlx = callPackage ../development/ocaml-modules/mlx/ocamlmerlin-mlx.nix { };

ocamlmod = callPackage ../development/tools/ocaml/ocamlmod { };

ocamlnet = callPackage ../development/ocaml-modules/ocamlnet { };
Expand Down

0 comments on commit 460a521

Please sign in to comment.