2021-03-23 19:22:30 +00:00
|
|
|
{ lib, fetchurl, yojson, csexp, result, buildDunePackage }:
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
buildDunePackage rec {
|
|
|
|
pname = "dot-merlin-reader";
|
2021-03-20 04:20:00 +00:00
|
|
|
version = "4.1";
|
2021-01-05 17:05:55 +00:00
|
|
|
|
|
|
|
useDune2 = true;
|
2020-10-07 09:15:18 +00:00
|
|
|
|
2021-03-20 04:20:00 +00:00
|
|
|
minimumOCamlVersion = "4.06";
|
2020-10-07 09:15:18 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2021-03-20 04:20:00 +00:00
|
|
|
url = "https://github.com/ocaml/merlin/releases/download/v${version}/dot-merlin-reader-v${version}.tbz";
|
|
|
|
sha256 = "14a36d6fb8646a5df4530420a7861722f1a4ee04753717947305e3676031e7cd";
|
2020-10-07 09:15:18 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ yojson csexp result ];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Reads config files for merlin";
|
|
|
|
homepage = "https://github.com/ocaml/merlin";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.hongchangwu ];
|
|
|
|
};
|
|
|
|
}
|