-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
54 lines (44 loc) · 1.52 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
46
47
48
49
50
51
52
53
54
opam-version: "2.0"
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"
license: "ISC"
dev-repo: "git+https://erratique.ch/repos/down.git"
bug-reports: "https://github.com/dbuenzli/down/issues"
tags: [ "org:erratique" "dev" "toplevel" "repl" ]
depends: [
"ocaml" {>= "4.04.0" & < "4.14"}
"ocamlfind" {build}
"ocamlbuild" {build}
"topkg" {build & >= "0.9.1" } ]
build: [
"ocaml" "pkg/pkg.ml" "build"
"--dev-pkg" "%{pinned}%"
"--lib-dir" "%{lib}%" ]
# Following is only to deal with
# https://caml.inria.fr/mantis/view.php?id=7808
install:
[
["install" "-d" "%{lib}%/ocaml/"]
["install" "src/down.top" "src/down.nattop" "%{lib}%/ocaml/"]
]
synopsis: """An OCaml toplevel (REPL) upgrade"""
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.
[ocp-index]: https://github.com/OCamlPro/ocp-index"""
url {
src: "https://erratique.ch/software/down/releases/down-0.0.3.tbz"
checksum: [
"sha256=8f665d5f1e953d3b46bc9c73bc45d5899b58e94c9f519db7c82fbb136471e2db"
"md5=7a0baf50f5c81e8c685413346971c3c9"
]
}