1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-25 02:26:19 +03:00

ocamlPackages.lsp: add version 1.22.0 for OCaml 5.3

This commit is contained in:
Vincent Laporte 2025-01-28 09:11:56 +01:00
parent a8bd62adaf
commit 2c22ac2fb6
No known key found for this signature in database
GPG key ID: EBD582ADDDB1F81F
2 changed files with 11 additions and 2 deletions

View file

@ -9,7 +9,9 @@
lib, lib,
ocaml, ocaml,
version ? 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" "1.21.0"
else if lib.versionAtLeast ocaml.version "4.14" then else if lib.versionAtLeast ocaml.version "4.14" then
"1.18.0" "1.18.0"
@ -24,6 +26,11 @@
let let
params = params =
{ {
"1.22.0" = {
name = "lsp";
minimalOCamlVersion = "5.2";
sha256 = "sha256-UZ3DV30V3CIQ3vpYBIGnQ1eRGNUGk7aRuxDLyCA/tYE=";
};
"1.21.0" = { "1.21.0" = {
name = "lsp"; name = "lsp";
minimalOCamlVersion = "5.2"; minimalOCamlVersion = "5.2";

View file

@ -23,7 +23,9 @@
ocamlformat-rpc-lib, ocamlformat-rpc-lib,
ocaml, ocaml,
version ? 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" "1.21.0"
else if lib.versionAtLeast ocaml.version "4.14" then else if lib.versionAtLeast ocaml.version "4.14" then
"1.18.0" "1.18.0"