diff options
Diffstat (limited to 'nixpkgs/pkgs/development/tools/ocaml/merlin')
-rw-r--r-- | nixpkgs/pkgs/development/tools/ocaml/merlin/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/tools/ocaml/merlin/default.nix b/nixpkgs/pkgs/development/tools/ocaml/merlin/default.nix new file mode 100644 index 000000000000..e059a5d6a76c --- /dev/null +++ b/nixpkgs/pkgs/development/tools/ocaml/merlin/default.nix @@ -0,0 +1,22 @@ +{ stdenv, fetchzip, buildDunePackage, yojson }: + +buildDunePackage rec { + pname = "merlin"; + version = "3.2.2"; + + minimumOCamlVersion = "4.02"; + + src = fetchzip { + url = "https://github.com/ocaml/merlin/archive/v${version}.tar.gz"; + sha256 = "15ssgmwdxylbwhld9p1cq8x6kadxyhll5bfyf11dddj6cldna3hb"; + }; + + 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 ]; + }; +} |