-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
45 lines (38 loc) · 1.61 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
opam-version: "2.0"
synopsis: """An OCaml toplevel (REPL) upgrade"""
maintainer: ["Daniel Bünzli <daniel.buenzl i@erratique.ch>"]
authors: ["The down programmers"]
homepage: "https://erratique.ch/software/down"
doc: "https://erratique.ch/software/down/doc/"
dev-repo: "git+https://erratique.ch/repos/down.git"
bug-reports: "https://github.com/dbuenzli/down/issues"
license: ["ISC"]
tags: ["dev" "toplevel" "repl" "org:erratique"]
depends: ["ocaml" {>= "4.14.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build & >= "1.0.3"}
"uucp" {dev}]
build: [["ocaml" "pkg/pkg.ml" "build"
"--dev-pkg" "%{dev}%"
"--lib-dir" "%{lib}%"]]
install:
# Following is only to deal with
# https://caml.inria.fr/mantis/view.php?id=7808
[["install" "-d" "%{lib}%/ocaml/"]
["install" "src/down.top" "src/down.nattop" "%{lib}%/ocaml/"]]
url {
src: "https://erratique.ch/software/down/releases/down-0.1.0.tbz"
checksum: "sha512=f09d34f9a21d6a65ce85d9f6c267ee811d85cc0a91ab9dd76ed6ca0e8183df09a2e77331484e54661d154465d64fc31adb4be4a94615ef735c772d56b409a9e3"}
description: """
Down is an unintrusive user experience upgrade for the `ocaml`
toplevel (REPL).
Simply load the zero dependency `Down` library in the `ocaml` toplevel
and you get line edition, history, session support and identifier
completion and documentation (courtesy of [`ocp-index`][ocp-index]).
Add this to your `~/.ocamlinit`:
#use "down.top"
![tty](doc/tty.png)
Down is distributed under the ISC license.
Homepage: http://erratique.ch/software/down
[ocp-index]: https://github.com/OCamlPro/ocp-index"""