nixpkgs/pkgs/development/ocaml-modules/ocaml-lsp/default.nix
Antonio Nuno Monteiro 669cfc195f ocaml-lsp, lsp, jsonrpc: allow overriding the source globally
Co-authored-by: Sandro <sandro.jaeckel@gmail.com>
2021-03-21 12:17:08 -07:00

16 lines
312 B
Nix

{ buildDunePackage, jsonrpc, lsp }:
buildDunePackage {
pname = "ocaml-lsp-server";
inherit (jsonrpc) version src;
useDune2 = true;
inherit (lsp) preBuild;
buildInputs = lsp.buildInputs ++ [ lsp ];
meta = jsonrpc.meta // {
description = "OCaml Language Server Protocol implementation";
};
}