depot/third_party/nixpkgs/pkgs/development/tools/ocaml/merlin/dot-merlin-reader.nix
Default email 94427deb9d Project import generated by Copybara.
GitOrigin-RevId: f91ee3065de91a3531329a674a45ddcb3467a650
2023-05-24 16:37:59 +03:00

23 lines
567 B
Nix

{ lib, fetchurl, yojson, csexp, findlib, buildDunePackage, merlin-lib, merlin, result }:
buildDunePackage rec {
pname = "dot-merlin-reader";
duneVersion = "3";
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";
homepage = "https://github.com/ocaml/merlin";
license = licenses.mit;
maintainers = [ maintainers.hongchangwu ];
};
}