about summary refs log tree commit diff
path: root/pkgs/development/tools/ocaml/merlin/default.nix
blob: 3b176541f517eb587c66354dcbbbcdf7b15ddd19 (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
{ stdenv, fetchFromGitHub, buildDunePackage, yojson }:

buildDunePackage rec {
  pname = "merlin";
  version = "3.3.1";

  minimumOCamlVersion = "4.02.1";

  src = fetchFromGitHub {
    owner = "ocaml";
    repo = pname;
    rev = "v${version}";
    sha256 = "1z2m6jykgn3nylh4bfirhxlb0bwamifv4fgml6j34ggk1drs8xrl";
  };

  buildInputs = [ yojson ];

  meta = with stdenv.lib; {
    description = "An editor-independent tool to ease the development of programs in OCaml";
    homepage = "https://github.com/ocaml/merlin";
    license = licenses.mit;
    maintainers = [ maintainers.vbgl ];
  };
}