about summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/merlin/dot-merlin-reader.nix
blob: b3b73776058835297241d51fc0fae90b030d6123 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ lib, fetchurl, yojson, csexp, result, buildDunePackage }:

buildDunePackage rec {
  pname = "dot-merlin-reader";
  version = "3.4.2";

  useDune2 = true;

  minimumOCamlVersion = "4.02.1";

  src = fetchurl {
    url = "https://github.com/ocaml/merlin/releases/download/v${version}/merlin-v${version}.tbz";
    sha256 = "109ai1ggnkrwbzsl1wdalikvs1zx940m6n65jllxj68in6bvidz1";
  };

  buildInputs = [ yojson csexp result ];

  meta = with lib; {
    description = "Reads config files for merlin";
    homepage = "https://github.com/ocaml/merlin";
    license = licenses.mit;
    maintainers = [ maintainers.hongchangwu ];
  };
}