Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
41 lines
647 B
Nix
41 lines
647 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 ];
|
|
};
|
|
}
|