nixpkgs/pkgs/development/tools/ocaml/merlin/dot-merlin-reader.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

21 lines
502 B
Nix
Raw Normal View History

{ lib, fetchurl, yojson, csexp, buildDunePackage, merlin-lib, merlin }:
buildDunePackage rec {
pname = "dot-merlin-reader";
2020-12-30 20:49:04 +00:00
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 ];
};
}