nixpkgs/pkgs/development/tools/ocaml/merlin/dot-merlin-reader.nix
Vincent Laporte f09f7f1778 ocamlPackages.yojson: 1.7.0 → 2.0.2
ocamlPackages.merlin: 3.4.2 → 3.8.0

ocamlPackages.merlin: 4.5 → 4.6

ocamlPackages.{atd,atdgen}: 2.9.1 → 2.10.0

ocamlPackages.elpi: fix build with atd 2.10.0
2022-08-29 08:10:02 +02:00

21 lines
502 B
Nix

{ lib, fetchurl, yojson, csexp, buildDunePackage, merlin-lib, merlin }:
buildDunePackage rec {
pname = "dot-merlin-reader";
inherit (merlin) version src;
minimalOCamlVersion = "4.06";
buildInputs = if lib.versionAtLeast version "4.6-414"
then [ merlin-lib ]
else [ yojson csexp ];
meta = with lib; {
description = "Reads config files for merlin";
homepage = "https://github.com/ocaml/merlin";
license = licenses.mit;
maintainers = [ maintainers.hongchangwu ];
};
}