71 lines
1.1 KiB
Nix
71 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
buildDunePackage,
|
|
fetchFromGitHub,
|
|
menhir,
|
|
alcotest,
|
|
base,
|
|
dune-build-info,
|
|
either,
|
|
fix,
|
|
fpath,
|
|
menhirLib,
|
|
menhirSdk,
|
|
ocaml-version,
|
|
ocamlformat-rpc-lib,
|
|
ocp-indent,
|
|
stdio,
|
|
uuseg,
|
|
csexp,
|
|
astring,
|
|
result,
|
|
camlp-streams,
|
|
odoc,
|
|
}:
|
|
buildDunePackage rec {
|
|
pname = "ocamlformat-mlx-lib";
|
|
version = "0.27.0.1";
|
|
minimalOcamlVersion = "4.08";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocaml-mlx";
|
|
repo = "ocamlformat-mlx";
|
|
tag = version;
|
|
hash = "sha256-807ku1C5CxAGlMP1tDW0APE32VV/TPOgsZqi6FcFQm0=";
|
|
};
|
|
|
|
propagatedBuildInputs = [
|
|
alcotest
|
|
base
|
|
dune-build-info
|
|
either
|
|
fix
|
|
fpath
|
|
menhirLib
|
|
menhirSdk
|
|
ocaml-version
|
|
ocamlformat-rpc-lib
|
|
ocp-indent
|
|
stdio
|
|
uuseg
|
|
csexp
|
|
astring
|
|
result
|
|
camlp-streams
|
|
odoc
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
menhir
|
|
];
|
|
|
|
meta = {
|
|
homepage = "https://github.com/ocaml-mlx/ocamlformat-mlx";
|
|
description = "OCaml .mlx Code Formatter";
|
|
maintainers = with lib.maintainers; [
|
|
Denommus
|
|
];
|
|
license = lib.licenses.mit;
|
|
};
|
|
}
|