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:
parent
a8bd62adaf
commit
2c22ac2fb6
2 changed files with 11 additions and 2 deletions
|
@ -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";
|
||||||
|
|
|
@ -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"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue