mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
f09f7f1778
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
21 lines
502 B
Nix
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 ];
|
|
};
|
|
}
|