Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / ocaml-modules / linol / default.nix
blobeb6f9c11c6117546a9f997d5c1286d7a95432a30
1 { lib, fetchFromGitHub, buildDunePackage, yojson, logs, lsp, ppx_yojson_conv_lib }:
3 buildDunePackage
4 rec {
5   pname = "linol";
6   version = "2023-08-04";
8   minimalOCamlVersion = "4.14";
9   duneVersion = "3";
11   src = fetchFromGitHub {
12     owner = "c-cube";
13     repo = "linol";
14     # Brings support for newer LSP
15     rev = "09311ae258c55c53c62cb5eda3641682e61fe191";
16     sha256 = "sha256-51k+Eo3buzby9cWtbl+/0wbAxa2QSS+Oq0aEao0VBCM=";
17   };
19   lsp_v = lsp.override {
20     version = "1.14.2";
21   };
22   propagatedBuildInputs = [ yojson logs lsp_v ppx_yojson_conv_lib ];
24   meta = with lib; {
25     description = "LSP server library";
26     license = licenses.mit;
27     maintainers = [ maintainers.ulrikstrid ];
28     homepage = "https://github.com/c-cube/linol";
29   };