mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-08-28 19:24:45 +00:00
70 lines
1.1 KiB
Nix
70 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 (finalAttrs: {
|
|
pname = "ocamlformat-mlx-lib";
|
|
version = "0.28.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "ocaml-mlx";
|
|
repo = "ocamlformat-mlx";
|
|
tag = finalAttrs.version;
|
|
hash = "sha256-IxX8FD7v9evHFTCnTJBtnUMUUTWI34zIifpciuJCuhs=";
|
|
};
|
|
|
|
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;
|
|
};
|
|
})
|