mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
Adds merlin
Merlin is an editor-independant tool to ease the developpement of programs in OCaml. It aims to provide features available in modern IDEs. Homepage: http://the-lambda-church.github.io/merlin/
This commit is contained in:
parent
e658ae9694
commit
f16124d521
2 changed files with 28 additions and 0 deletions
26
pkgs/development/tools/ocaml/merlin/default.nix
Normal file
26
pkgs/development/tools/ocaml/merlin/default.nix
Normal file
|
@ -0,0 +1,26 @@
|
|||
{stdenv, fetchurl, ocaml, findlib, easy-format, biniou, yojson, menhir}:
|
||||
let
|
||||
pname = "merlin";
|
||||
version = "1.6";
|
||||
webpage = "http://the-lambda-church.github.io/merlin/";
|
||||
in
|
||||
stdenv.mkDerivation {
|
||||
|
||||
name = "${pname}-${version}";
|
||||
|
||||
src = fetchurl {
|
||||
url = "https://github.com/the-lambda-church/${pname}/archive/v${version}.tar.gz";
|
||||
sha256 = "0wq75hgffaszazrhkl0nfjxgx8bvazi2sjannd8q64hvax8hxzcy";
|
||||
};
|
||||
|
||||
buildInputs = [ ocaml findlib biniou yojson menhir easy-format ];
|
||||
|
||||
prefixKey = "--prefix ";
|
||||
|
||||
meta = {
|
||||
description = "An editor-independant tool to ease the developpement of programs in OCaml";
|
||||
homepage = "${webpage}";
|
||||
license = stdenv.lib.licenses.mit;
|
||||
};
|
||||
}
|
||||
|
|
@ -3217,6 +3217,8 @@ let
|
|||
|
||||
menhir = callPackage ../development/ocaml-modules/menhir { };
|
||||
|
||||
merlin = callPackage ../development/tools/ocaml/merlin { };
|
||||
|
||||
mldonkey = callPackage ../applications/networking/p2p/mldonkey { };
|
||||
|
||||
mlgmp = callPackage ../development/ocaml-modules/mlgmp { };
|
||||
|
|
Loading…
Reference in a new issue