@@ -6298,6 +6298,49 @@ (define-public ocaml5.0-merlin
Atom.")
(license license:expat))))
+;this package is not public because 1.16.1 only support ocaml 5.0 and 5.1
+(define ocaml-lsp-server
+ (package
+ (name "ocaml-lsp-server")
+ (version "1.16.2")
+ (home-page "https://github.com/ocaml/ocaml-lsp")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (sha256
+ (base32
+ "1nd1655allyml2qpr6asxv3d2pdq5clw7vx7zx9bfiawyi2szsn8"))))
+ (build-system dune-build-system)
+ (arguments '(#:tests? #f)) ; tests are failing for v1.16.1
+ (propagated-inputs (list ocaml-merlin-lib-4.9
+ ocamlformat-rpc-lib
+ ocaml-pp
+ ocamlc-loc
+ ocaml-spawn
+ ocaml-ordering
+ ocaml-fiber
+ ocaml-dyn
+ ocaml-dune-rpc
+ ocaml-re
+ ocaml-csexp
+ ocaml-uutf
+ ocaml-odoc-parser
+ ocaml-dune-build-info
+ ocaml-xdg
+ ocaml-stdune
+ ocaml-chrome-trace
+ ocaml-ppx-yojson-conv-lib
+ ocaml-yojson))
+ (native-inputs (list ocaml-ppx-expect ocamlformat ocaml-odoc))
+ (properties `((upstream-name . "ocaml-lsp-server")))
+ (synopsis "LSP Server for OCaml")
+ (description "This package implements an Ocaml language server implementation.")
+ (license license:isc)))
+
+(define-public ocaml5.0-lsp-server (package-with-ocaml5.0 ocaml-lsp-server))
+
(define-public ocaml-gsl
(package
(name "ocaml-gsl")