···
2
+
synopsis: """An OCaml toplevel (REPL) upgrade"""
3
+
maintainer: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
4
+
authors: ["The down programmers"]
5
+
homepage: "https://erratique.ch/software/down"
6
+
doc: "https://erratique.ch/software/down/doc/"
7
+
dev-repo: "git+https://erratique.ch/repos/down.git"
8
+
bug-reports: "https://github.com/dbuenzli/down/issues"
10
+
tags: ["dev" "toplevel" "repl" "org:erratique"]
11
+
depends: ["ocaml" {>= "4.04.0" & < "4.14.0"}
13
+
"ocamlbuild" {build}
14
+
"topkg" {build & >= "1.0.3"}
16
+
build: [["ocaml" "pkg/pkg.ml" "build"
17
+
"--dev-pkg" "%{dev}%"
18
+
"--lib-dir" "%{lib}%"]]
20
+
# Following is only to deal with
21
+
# https://caml.inria.fr/mantis/view.php?id=7808
22
+
[["install" "-d" "%{lib}%/ocaml/"]
23
+
["install" "src/down.top" "src/down.nattop" "%{lib}%/ocaml/"]]
25
+
src: "https://erratique.ch/software/down/releases/down-0.0.4.tbz"
26
+
checksum: "sha512=09cf03e04942de8469f04d1d2c2a5b91b92a3539b5c109d866555ad0ca0e848884371b4516b06c8c19aa030c279b487ecb788c354d2eec32f88343876e525eeb"}
28
+
Down is an unintrusive user experience upgrade for the `ocaml`
31
+
Simply load the zero dependency `Down` library in the `ocaml` toplevel
32
+
and you get line edition, history, session support and identifier
33
+
completion and documentation (courtesy of [`ocp-index`][ocp-index]).
35
+
Add this to your `~/.ocamlinit`:
41
+
Down is distributed under the ISC license.
43
+
Homepage: http://erratique.ch/software/down
45
+
[ocp-index]: https://github.com/OCamlPro/ocp-index"""