1 { lib, fetchurl, yojson, csexp, findlib, buildDunePackage, merlin-lib, merlin, result }:
4 pname = "dot-merlin-reader";
8 inherit (merlin) version src;
10 minimalOCamlVersion = "4.06";
12 buildInputs = [ findlib ]
13 ++ (if lib.versionAtLeast version "4.7-414"
15 else [ yojson csexp result ]);
18 description = "Reads config files for merlin";
19 mainProgram = "dot-merlin-reader";
20 homepage = "https://github.com/ocaml/merlin";
21 license = licenses.mit;
22 maintainers = [ maintainers.hongchangwu ];