[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#60120] [PATCH 26/28] gnu: Add ocaml5.0-merlin-lib.
From: |
pukkamustard |
Subject: |
[bug#60120] [PATCH 26/28] gnu: Add ocaml5.0-merlin-lib. |
Date: |
Fri, 16 Dec 2022 13:25:25 +0000 |
* gnu/packages/ocaml.scm (ocaml5.0-merlin-lib): New variable.
---
gnu/packages/ocaml.scm | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index f9dc9998c1..1b3e51001f 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -5370,12 +5370,34 @@ (define-public ocaml-merlin-lib
(arguments '(#:package "merlin-lib"
#:tests? #f)) ; no tests
(propagated-inputs (list ocaml-csexp ocaml-menhir))
+ (properties `((ocaml5.0-variant . ,(delay ocaml5.0-merlin-lib))))
(home-page "https://ocaml.github.io/merlin/")
(synopsis "Merlin libraries")
(description "These libraries provides access to low-level compiler
interfaces and the standard higher-level merlin protocol.")
(license license:expat)))
+;; the 500 indicates that this version is for OCaml 5.0
+(define ocaml-merlin-lib-500
+ (package
+ (inherit ocaml-merlin-lib)
+ (name "ocaml-merlin-lib")
+ (version "4.7.1-500")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ocaml/merlin")
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "05a87i2dkzv800nwb6y7b2j45avg8gs3gzb5a98wrj1i5zjqwh01"))))
+ (properties '())))
+
+(define-public ocaml5.0-merlin-lib
+ (package-with-ocaml5.0 ocaml-merlin-lib-500))
+
(define-public ocaml-dot-merlin-reader
(package
(inherit ocaml-merlin-lib)
--
2.38.1
- [bug#60120] [PATCH 14/28] gnu: Update ocaml-odoc to 2.2.0., (continued)
- [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, 2022/12/16
- [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 <=
- [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