2024-04-21 15:54:59 +00:00
|
|
|
{ lib, fetchFromGitHub, fetchpatch, buildDunePackage, yojson, logs, lsp, ppx_yojson_conv_lib, trace }:
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
buildDunePackage
|
|
|
|
rec {
|
|
|
|
pname = "linol";
|
2024-04-21 15:54:59 +00:00
|
|
|
version = "0.5";
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
minimalOCamlVersion = "4.14";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "c-cube";
|
|
|
|
repo = "linol";
|
2024-04-21 15:54:59 +00:00
|
|
|
rev = "v${version}";
|
|
|
|
hash = "sha256-ULPOB/hb+2VXDB/eK66WDDh/wj0bOwUt0tZsiIXqndo=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
|
2024-04-21 15:54:59 +00:00
|
|
|
patches = fetchpatch {
|
|
|
|
url = "https://github.com/c-cube/linol/commit/d8ebcf9a60f1e7251d14cdcd0b2ebd5b7f8eec6d.patch";
|
|
|
|
hash = "sha256-JHR0P0X3ep5HvDWW43dMb452/WsFKS4e+5Qhk4MzaxQ=";
|
2023-08-22 20:05:09 +00:00
|
|
|
};
|
2024-04-21 15:54:59 +00:00
|
|
|
|
|
|
|
propagatedBuildInputs = [ yojson logs lsp ppx_yojson_conv_lib trace ];
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "LSP server library";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = [ maintainers.ulrikstrid ];
|
|
|
|
homepage = "https://github.com/c-cube/linol";
|
|
|
|
};
|
|
|
|
}
|