[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60120] [PATCH 28/28] gnu: Add ocaml5.0-merlin.
From: |
pukkamustard |
Subject: |
[bug#60120] [PATCH 28/28] gnu: Add ocaml5.0-merlin. |
Date: |
Fri, 16 Dec 2022 13:25:27 +0000 |
* gnu/packages/ocaml.scm (ocaml5.0-merlin): New variable.
---
gnu/packages/ocaml.scm | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index dc824626fd..1e4fb46645 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5435,6 +5435,7 @@ (define-public ocaml-merlin
(when tests?
(invoke "dune" "runtest" "-p" "merlin,dot-merlin-reader")))))))
(propagated-inputs (list ocaml-merlin-lib ocaml-yojson))
+ (properties `((ocaml5.0-variant . ,(delay ocaml5.0-merlin))))
(native-inputs
(list ocaml-dot-merlin-reader ; required for tests
ocaml-ppxlib
@@ -5447,6 +5448,32 @@ (define-public ocaml-merlin
Atom.")
(license license:expat)))
+(define-public ocaml5.0-merlin
+ (package-with-ocaml5.0
+ (package
+ (inherit ocaml-merlin-lib-500)
+ (name "ocaml-merlin")
+ (arguments
+ '(#:package "merlin"
+ #:phases
+ (modify-phases %standard-phases
+ (replace 'check
+ (lambda* (#:key tests? #:allow-other-keys)
+ (when tests?
+ (invoke "dune" "runtest" "-p" "merlin,dot-merlin-reader")))))))
+ (propagated-inputs (list ocaml-merlin-lib ocaml-yojson))
+ (native-inputs
+ (list ocaml-dot-merlin-reader ; required for tests
+ ocaml-ppxlib
+ ocaml-mdx
+ jq))
+ (synopsis "Context sensitive completion for OCaml in Vim and Emacs")
+ (description "Merlin is an editor service that provides modern IDE
+features for OCaml. Emacs and Vim support is provided out-of-the-box.
+External contributors added support for Visual Studio Code, Sublime Text and
+Atom.")
+ (license license:expat))))
+
(define-public ocaml-gsl
(package
(name "ocaml-gsl")
--
2.38.1
- [bug#60120] [PATCH 18/28] gnu: Add ocaml-bechamel., (continued)
- [bug#60120] [PATCH 18/28] gnu: Add ocaml-bechamel., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 12/28] gnu: Update ocaml-qcheck to 0.20., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 17/28] gnu: Add ocaml5.0-ctypes, pukkamustard, 2022/12/16
- [bug#60120] [PATCH 14/28] gnu: Update ocaml-odoc to 2.2.0., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 20/28] gnu: Add ocaml5.0-eio., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 15/28] gnu: Add ocaml5.0-crowbar., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 16/28] gnu: Add ocaml-lwt-dllist., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 21/28] gnu: Add ocaml5.0-eio-luv., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 22/28] gnu: Add ocaml-uring., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 19/28] gnu: ocaml-mdx: Move inputs to propagated-inputs., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 28/28] gnu: Add ocaml5.0-merlin.,
pukkamustard <=
- [bug#60120] [PATCH 24/28] gnu: Add ocaml5.0-eio-main., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 27/28] gnu: Add ocaml5.0-dot-merlin-reader., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 26/28] gnu: Add ocaml5.0-merlin-lib., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 23/28] gnu: Add ocaml5.0-eio-linux., pukkamustard, 2022/12/16
- [bug#60120] [PATCH 25/28] gnu: Update ocaml-merlin-lib to 4.7-414., pukkamustard, 2022/12/16
- bug#60120: [PATCH 01/28] gnu: Add ocaml-5.0., Julien Lepiller, 2022/12/21