Skip to content

Commit

Permalink
ocamlPackages.ocamlformat-mlx: init at 0.26.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Denommus committed Dec 25, 2024
1 parent 6500782 commit 72a0955
Show file tree
Hide file tree
Showing 2 changed files with 39 additions and 1 deletion.
38 changes: 38 additions & 0 deletions pkgs/development/ocaml-modules/ocamlformat-mlx/default.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
{
lib,
buildDunePackage,
fetchFromGitHub,
cmdliner,
odoc,
ocamlformat-mlx-lib,
re,
}:
buildDunePackage rec {
pname = "ocamlformat-mlx";
version = "0.26.2.0";
minimalOcamlVersion = "4.08";

src = fetchFromGitHub {
owner = "ocaml-mlx";
repo = "ocamlformat-mlx";
rev = version;
hash = "sha256-I9ZP8Ory/CRFbHUCe5NkZKKYMwtL1gl8xw965k5R718=";
};

buildInputs = [
cmdliner
re
odoc
ocamlformat-mlx-lib
];

meta = {
homepage = "https://github.com/ocaml-mlx/ocamlformat-mlx";
description = "Auto-formatter for OCaml .mlx code";
maintainers = with lib.maintainers; [
Denommus
];
license = lib.licenses.mit;
mainProgram = "ocamlformat-mlx";
};
}
2 changes: 1 addition & 1 deletion pkgs/top-level/ocaml-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ let

ocamlformat-lib = callPackage ../development/ocaml-modules/ocamlformat/ocamlformat-lib.nix { };

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

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

Expand Down

0 comments on commit 72a0955

Please sign in to comment.