File tree Expand file tree Collapse file tree 3 files changed +96
-0
lines changed
development/ocaml-modules/ocamlformat-mlx Expand file tree Collapse file tree 3 files changed +96
-0
lines changed Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildDunePackage ,
4+ fetchFromGitHub ,
5+ cmdliner ,
6+ odoc ,
7+ ocamlformat-mlx-lib ,
8+ re ,
9+ } :
10+ buildDunePackage rec {
11+ pname = "ocamlformat-mlx" ;
12+ minimalOcamlVersion = "4.08" ;
13+
14+ inherit ( ocamlformat-mlx-lib ) version src meta ;
15+
16+ buildInputs = [
17+ cmdliner
18+ re
19+ odoc
20+ ocamlformat-mlx-lib
21+ ] ;
22+ }
Original file line number Diff line number Diff line change 1+ {
2+ lib ,
3+ buildDunePackage ,
4+ fetchFromGitHub ,
5+ menhir ,
6+ alcotest ,
7+ base ,
8+ dune-build-info ,
9+ either ,
10+ fix ,
11+ fpath ,
12+ menhirLib ,
13+ menhirSdk ,
14+ ocaml-version ,
15+ ocamlformat-rpc-lib ,
16+ ocp-indent ,
17+ stdio ,
18+ uuseg ,
19+ csexp ,
20+ astring ,
21+ result ,
22+ camlp-streams ,
23+ odoc ,
24+ } :
25+ buildDunePackage rec {
26+ pname = "ocamlformat-mlx-lib" ;
27+ version = "0.26.2.0" ;
28+ minimalOcamlVersion = "4.08" ;
29+
30+ src = fetchFromGitHub {
31+ owner = "ocaml-mlx" ;
32+ repo = "ocamlformat-mlx" ;
33+ rev = version ;
34+ hash = "sha256-I9ZP8Ory/CRFbHUCe5NkZKKYMwtL1gl8xw965k5R718=" ;
35+ } ;
36+
37+ propagatedBuildInputs = [
38+ alcotest
39+ base
40+ dune-build-info
41+ either
42+ fix
43+ fpath
44+ menhirLib
45+ menhirSdk
46+ ocaml-version
47+ ocamlformat-rpc-lib
48+ ocp-indent
49+ stdio
50+ uuseg
51+ csexp
52+ astring
53+ result
54+ camlp-streams
55+ odoc
56+ ] ;
57+
58+ nativeBuildInputs = [
59+ menhir
60+ ] ;
61+
62+ meta = {
63+ homepage = "https://github.com/ocaml-mlx/ocamlformat-mlx" ;
64+ description = "OCaml .mlx Code Formatter" ;
65+ maintainers = with lib . maintainers ; [
66+ Denommus
67+ ] ;
68+ license = lib . licenses . mit ;
69+ } ;
70+ }
Original file line number Diff line number Diff line change @@ -1349,6 +1349,10 @@ let
13491349
13501350 ocamlformat-lib = callPackage ../development/ocaml-modules/ocamlformat/ocamlformat-lib.nix { } ;
13511351
1352+ ocamlformat-mlx = callPackage ../development/ocaml-modules/ocamlformat-mlx { } ;
1353+
1354+ ocamlformat-mlx-lib = callPackage ../development/ocaml-modules/ocamlformat-mlx/lib.nix { } ;
1355+
13521356 ocamlformat-rpc-lib = callPackage ../development/ocaml-modules/ocamlformat/ocamlformat-rpc-lib.nix { } ;
13531357
13541358 ocamlfuse = callPackage ../development/ocaml-modules/ocamlfuse { } ;
You can’t perform that action at this time.
0 commit comments