blob: d74b480c9c5a1c5a8fca1eef46997b5c0e3b8475 (
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
25
26
27
28
|
{ stdenv, fetchzip, ocaml, findlib, dune, yojson }:
assert stdenv.lib.versionAtLeast ocaml.version "4.02";
let
version = "3.2.1";
in
stdenv.mkDerivation {
name = "merlin-${version}";
src = fetchzip {
url = "https://github.com/ocaml/merlin/archive/v${version}.tar.gz";
sha256 = "1szv2b7d12ll5n6pvnhlv3a6vnlyrkpya4l9fiyyiwyvgd4xzxwf";
};
buildInputs = [ ocaml findlib dune yojson ];
inherit (dune) installPhase;
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 ];
};
}
|