mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-21 22:43:01 +00:00
ocamlPackages.lsp: 1.18.0 → 1.19.0
This commit is contained in:
parent
4d2cdd2e71
commit
9139415648
@ -12,7 +12,13 @@ rec {
|
||||
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; {
|
||||
description = "LSP server library";
|
||||
|
@ -8,7 +8,9 @@
|
||||
, lib
|
||||
, ocaml
|
||||
, 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"
|
||||
else if lib.versionAtLeast ocaml.version "4.13" then
|
||||
"1.10.5"
|
||||
@ -19,6 +21,11 @@
|
||||
}:
|
||||
|
||||
let params = {
|
||||
"1.19.0" = {
|
||||
name = "lsp";
|
||||
minimalOCamlVersion = "5.02";
|
||||
sha256 = "sha256-54PZ8af4nOG/TJFIqjSiKDaL0Um7zKQ96AtFkiHe5ew=";
|
||||
};
|
||||
"1.18.0" = {
|
||||
name = "lsp";
|
||||
minimalOCamlVersion = "4.14";
|
||||
|
@ -22,7 +22,9 @@
|
||||
, ocamlformat-rpc-lib
|
||||
, ocaml
|
||||
, 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"
|
||||
else if lib.versionAtLeast ocaml.version "4.13" then
|
||||
"1.10.5"
|
||||
|
Loading…
Reference in New Issue
Block a user