[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#52039] [PATCH 7/7] gnu: Add ocaml-utop.
From: |
zimoun |
Subject: |
[bug#52039] [PATCH 7/7] gnu: Add ocaml-utop. |
Date: |
Mon, 22 Nov 2021 16:35:26 +0100 |
* gnu/packages/ocaml.scm (ocaml-utop): New variable.
(ocaml4.07-utop): Inherit and adjust.
---
gnu/packages/ocaml.scm | 40 +++++++++++++++++++++++++++++++++-------
1 file changed, 33 insertions(+), 7 deletions(-)
diff --git a/gnu/packages/ocaml.scm b/gnu/packages/ocaml.scm
index f63a00f1d8..8d72641bfd 100644
--- a/gnu/packages/ocaml.scm
+++ b/gnu/packages/ocaml.scm
@@ -4136,8 +4136,40 @@ (define-public ocaml4.07-lambda-term
("ocaml-lwt-react" ,(package-with-ocaml4.07 ocaml-lwt-react))
("ocaml-zed" ,ocaml4.07-zed)))))
+(define-public ocaml-utop
+ (package
+ (name "ocaml-utop")
+ (version "2.8.0")
+ (home-page "https://github.com/ocaml-community/utop")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1zf4hg33sblzh2f65vk0292jg4jlwa8702kfwpsg1kcg4w6nsfdp"))))
+ (build-system dune-build-system)
+ (arguments
+ '(#:test-target "."))
+ (propagated-inputs
+ `(("ocaml-lambda-term" ,ocaml-lambda-term)
+ ("ocaml-lwt" ,ocaml-lwt)
+ ("ocaml-lwt-react" ,ocaml-lwt-react)
+ ("ocaml-camomile" ,ocaml-camomile)
+ ("ocaml-react" ,ocaml-react)))
+ (native-inputs
+ `(("ocaml-cppo" ,ocaml-cppo)))
+ (synopsis "Improved interface to the OCaml toplevel")
+ (description "UTop is an improved toplevel for OCaml. It can run in a
+terminal or in Emacs. It supports line editing, history, real-time and context
+sensitive completion, colors, and more.")
+ (license license:bsd-3)))
+
(define-public ocaml4.07-utop
(package
+ (inherit ocaml-utop)
(name "ocaml4.07-utop")
(version "2.4.3")
(source
@@ -4162,13 +4194,7 @@ (define-public ocaml4.07-utop
("lwt" ,(package-with-ocaml4.07 ocaml-lwt))
("react" ,(package-with-ocaml4.07 ocaml-react))
("camomile" ,(package-with-ocaml4.07 ocaml-camomile))
- ("zed" ,ocaml4.07-zed)))
- (home-page "https://github.com/ocaml-community/utop")
- (synopsis "Improved interface to the OCaml toplevel")
- (description "UTop is an improved toplevel for OCaml. It can run in a
-terminal or in Emacs. It supports line editing, history, real-time and context
-sensitive completion, colors, and more.")
- (license license:bsd-3)))
+ ("zed" ,ocaml4.07-zed)))))
(define-public ocaml-integers
(package
--
2.32.0
- [bug#52039] [PATCH 0/7] Add utop., zimoun, 2021/11/22
- [bug#52039] [PATCH 1/7] gnu: Add ocaml-trie., zimoun, 2021/11/22
- [bug#52039] [PATCH 2/7] gnu: Add ocaml-mew., zimoun, 2021/11/22
- [bug#52039] [PATCH 3/7] gnu: Add ocaml-mew-vi., zimoun, 2021/11/22
- [bug#52039] [PATCH 4/7] gnu: ocaml-charinfo-width: Fix source to get 'LICENSE' file., zimoun, 2021/11/22
- [bug#52039] [PATCH 5/7] gnu: Add ocaml-zed., zimoun, 2021/11/22
- [bug#52039] [PATCH 6/7] gnu: Add ocaml-lambda-term., zimoun, 2021/11/22
- [bug#52039] [PATCH 7/7] gnu: Add ocaml-utop.,
zimoun <=
- [bug#52039] [PATCH v2 1/7] gnu: Add ocaml-trie., zimoun, 2021/11/22
- [bug#52039] [PATCH v2 3/7] gnu: Add ocaml-mew-vi., zimoun, 2021/11/22
- [bug#52039] [PATCH v2 4/7] gnu: ocaml-charinfo-width: Fix source to get 'LICENSE' file., zimoun, 2021/11/22
- [bug#52039] [PATCH v2 5/7] gnu: Add ocaml-zed., zimoun, 2021/11/22
- [bug#52039] [PATCH v2 6/7] gnu: Add ocaml-lambda-term., zimoun, 2021/11/22
- [bug#52039] [PATCH v2 7/7] gnu: Add ocaml-utop., zimoun, 2021/11/22
- [bug#52039] [PATCH v2 2/7] gnu: Add ocaml-mew., zimoun, 2021/11/22
- bug#52039: [PATCH 0/7] Add utop., Julien Lepiller, 2021/11/23