1 # Version can be selected with the 'version' argument, see generic.nix.
2 { lib, callPackage, buildDunePackage, menhir, ... }@args:
4 let inherit (callPackage ./generic.nix args) src version library_deps;
6 in assert (lib.versionAtLeast version "0.25.1");
9 pname = "ocamlformat-lib";
12 minimalOCamlVersion = "4.08";
15 nativeBuildInputs = [ menhir ];
17 propagatedBuildInputs = library_deps;
20 homepage = "https://github.com/ocaml-ppx/ocamlformat";
21 description = "Auto-formatter for OCaml code (library)";
22 maintainers = with lib.maintainers; [ Zimmi48 marsam Julow ];
23 license = lib.licenses.mit;