mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add ocaml5.0-merlin.
* gnu/packages/ocaml.scm (ocaml5.0-merlin): New variable. Signed-off-by: Julien Lepiller <julien@lepiller.eu>
This commit is contained in:
parent
8ed74a1787
commit
fe5836feaf
1 changed files with 27 additions and 0 deletions
|
@ -5449,6 +5449,7 @@ interfaces and the standard higher-level merlin protocol.")
|
||||||
(when tests?
|
(when tests?
|
||||||
(invoke "dune" "runtest" "-p" "merlin,dot-merlin-reader")))))))
|
(invoke "dune" "runtest" "-p" "merlin,dot-merlin-reader")))))))
|
||||||
(propagated-inputs (list ocaml-merlin-lib ocaml-yojson))
|
(propagated-inputs (list ocaml-merlin-lib ocaml-yojson))
|
||||||
|
(properties `((ocaml5.0-variant . ,(delay ocaml5.0-merlin))))
|
||||||
(native-inputs
|
(native-inputs
|
||||||
(list ocaml-dot-merlin-reader ; required for tests
|
(list ocaml-dot-merlin-reader ; required for tests
|
||||||
ocaml-ppxlib
|
ocaml-ppxlib
|
||||||
|
@ -5461,6 +5462,32 @@ External contributors added support for Visual Studio Code, Sublime Text and
|
||||||
Atom.")
|
Atom.")
|
||||||
(license license:expat)))
|
(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
|
(define-public ocaml-gsl
|
||||||
(package
|
(package
|
||||||
(name "ocaml-gsl")
|
(name "ocaml-gsl")
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue