f34ce41345
GitOrigin-RevId: b73c2221a46c13557b1b3be9c2070cc42cf01eb3
22 lines
574 B
Nix
22 lines
574 B
Nix
{ lib, yojson, csexp, findlib, buildDunePackage, merlin-lib, merlin, result }:
|
|
|
|
buildDunePackage rec {
|
|
pname = "dot-merlin-reader";
|
|
|
|
inherit (merlin) version src;
|
|
|
|
minimalOCamlVersion = "4.06";
|
|
|
|
buildInputs = [ findlib ]
|
|
++ (if lib.versionAtLeast version "4.7-414"
|
|
then [ merlin-lib ]
|
|
else [ yojson csexp result ]);
|
|
|
|
meta = with lib; {
|
|
description = "Reads config files for merlin";
|
|
mainProgram = "dot-merlin-reader";
|
|
homepage = "https://github.com/ocaml/merlin";
|
|
license = licenses.mit;
|
|
maintainers = [ maintainers.hongchangwu ];
|
|
};
|
|
}
|