about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/tools/ocaml/merlin/dot-merlin-reader.nix
blob: 894fe6f75ae9d4fe2599d2c022673ad7583951cd (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 = "4.1";

  useDune2 = true;

  minimumOCamlVersion = "4.06";

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

  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 ];
  };
}