1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/development/tools/ocaml/merlin/default.nix

28 lines
712 B
Nix
Raw Normal View History

2020-09-23 05:51:13 +01:00
{ lib, fetchurl, buildDunePackage, substituteAll
, dot-merlin-reader, dune_2, yojson, csexp, result }:
buildDunePackage rec {
pname = "merlin";
2020-09-23 05:51:13 +01:00
inherit (dot-merlin-reader) src version;
2020-09-23 05:51:13 +01:00
minimumOCamlVersion = "4.02.3";
patches = [
(substituteAll {
src = ./fix-paths.patch;
dot_merlin_reader = "${dot-merlin-reader}/bin/dot-merlin-reader";
dune = "${dune_2}/bin/dune";
})
];
2020-09-23 05:51:13 +01:00
buildInputs = [ dot-merlin-reader yojson csexp result ];
2019-12-03 17:18:33 +00:00
meta = with lib; {
2014-09-10 00:28:49 +01:00
description = "An editor-independent tool to ease the development of programs in OCaml";
2017-10-22 23:14:38 +01:00
homepage = "https://github.com/ocaml/merlin";
license = licenses.mit;
maintainers = [ maintainers.vbgl ];
};
}