ocamlPackages.lsp: add version 1.22.0 for OCaml 5.3

This commit is contained in:
Vincent Laporte
2025-01-28 13:18:07 +01:00
parent a8bd62adaf
commit 2c22ac2fb6
2 changed files with 11 additions and 2 deletions
@@ -9,7 +9,9 @@
lib,
ocaml,
version ?
if lib.versionAtLeast ocaml.version "5.2" then
if lib.versionAtLeast ocaml.version "5.3" then
"1.22.0"
else if lib.versionAtLeast ocaml.version "5.2" then
"1.21.0"
else if lib.versionAtLeast ocaml.version "4.14" then
"1.18.0"
@@ -24,6 +26,11 @@
let
params =
{
"1.22.0" = {
name = "lsp";
minimalOCamlVersion = "5.2";
sha256 = "sha256-UZ3DV30V3CIQ3vpYBIGnQ1eRGNUGk7aRuxDLyCA/tYE=";
};
"1.21.0" = {
name = "lsp";
minimalOCamlVersion = "5.2";
@@ -23,7 +23,9 @@
ocamlformat-rpc-lib,
ocaml,
version ?
if lib.versionAtLeast ocaml.version "5.2" then
if lib.versionAtLeast ocaml.version "5.3" then
"1.22.0"
else if lib.versionAtLeast ocaml.version "5.2" then
"1.21.0"
else if lib.versionAtLeast ocaml.version "4.14" then
"1.18.0"