ocamlPackages.lsp: 1.18.0 → 1.19.0

This commit is contained in:
Vincent Laporte 2024-09-26 18:07:08 +02:00
parent 4d2cdd2e71
commit 9139415648
No known key found for this signature in database
GPG Key ID: EBD582ADDDB1F81F
3 changed files with 18 additions and 3 deletions

View File

@ -12,7 +12,13 @@ rec {
hash = "sha256-MwEisPJdzZN1VRnssotvExNMYOQdffS+Y2B8ZSUDVfo="; hash = "sha256-MwEisPJdzZN1VRnssotvExNMYOQdffS+Y2B8ZSUDVfo=";
}; };
propagatedBuildInputs = [ yojson logs lsp ppx_yojson_conv_lib trace ]; propagatedBuildInputs = [
yojson
logs
(lsp.override { version = "1.18.0"; })
ppx_yojson_conv_lib
trace
];
meta = with lib; { meta = with lib; {
description = "LSP server library"; description = "LSP server library";

View File

@ -8,7 +8,9 @@
, lib , lib
, ocaml , ocaml
, version ? , version ?
if lib.versionAtLeast ocaml.version "4.14" then if lib.versionAtLeast ocaml.version "5.02" then
"1.19.0"
else if lib.versionAtLeast ocaml.version "4.14" then
"1.18.0" "1.18.0"
else if lib.versionAtLeast ocaml.version "4.13" then else if lib.versionAtLeast ocaml.version "4.13" then
"1.10.5" "1.10.5"
@ -19,6 +21,11 @@
}: }:
let params = { let params = {
"1.19.0" = {
name = "lsp";
minimalOCamlVersion = "5.02";
sha256 = "sha256-54PZ8af4nOG/TJFIqjSiKDaL0Um7zKQ96AtFkiHe5ew=";
};
"1.18.0" = { "1.18.0" = {
name = "lsp"; name = "lsp";
minimalOCamlVersion = "4.14"; minimalOCamlVersion = "4.14";

View File

@ -22,7 +22,9 @@
, ocamlformat-rpc-lib , ocamlformat-rpc-lib
, ocaml , ocaml
, version ? , version ?
if lib.versionAtLeast ocaml.version "4.14" then if lib.versionAtLeast ocaml.version "5.02" then
"1.19.0"
else if lib.versionAtLeast ocaml.version "4.14" then
"1.18.0" "1.18.0"
else if lib.versionAtLeast ocaml.version "4.13" then else if lib.versionAtLeast ocaml.version "4.13" then
"1.10.5" "1.10.5"