-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
65 lines (64 loc) · 1.75 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
55
56
57
58
59
60
61
62
63
64
65
opam-version: "2.0"
maintainer: [
"Akinori ABE <aabe.65535@gmail.com>"
]
authors: [
"Akinori ABE"
]
license: "MIT"
homepage: "https://akabe.github.io/ocaml-jupyter/"
bug-reports: "https://github.com/akabe/ocaml-jupyter/issues"
dev-repo: "git+https://github.com/akabe/ocaml-jupyter.git"
build: [
[ "jbuilder" "subst" "-p" name ] {dev}
[ "jbuilder" "build" "-p" name "-j" jobs ]
]
install: [
[ "./kernelspec.sh" "install" ]
]
remove: [
[ "./kernelspec.sh" "uninstall" ]
]
depends: [
"ocaml" {>= "4.02.0" & < "4.08.0"}
"base-threads"
"base-unix"
"uuidm" {>= "0.9.6"}
"base64" {>= "2.1.2" & < "3.0.0"}
"lwt" {>= "3.0.0" & < "4.0.0"}
"stdint" {>= "0.4.2"}
"zmq" {>= "4.0-8" & < "5.0.0"}
"lwt-zmq" {>= "2.1.0"}
"yojson" {>= "1.3.3"}
"ppx_deriving_yojson" {>= "3.0"}
"cryptokit" {>= "1.12"}
"ocamlfind" {build & >= "1.5.0"}
"jbuilder" {>= "1.0+beta14" & < "1.0+beta18"}
"ocaml-migrate-parsetree" {< "2.0.0"}
]
depopts: [
"merlin"
]
conflicts: [
"merlin" {< "3.0.0"}
]
post-messages: [
"If Jupyter is installed, ocaml-jupyter kernel is already available."
"Otherwise you setup Jupyter and the OCaml kernel as follows:"
""
"$ pip install jupyter"
"$ jupyter kernelspec install --name ocaml-jupyter \\
%{share}%/ocaml-jupyter"
{success}
]
synopsis: "An OCaml kernel for Jupyter notebook"
description:
"OCaml Jupyter provides an OCaml REPL on Jupyter (a great interface with markdown/HTML documentation, LaTeX formula by MathJax, and image embedding). This is useful for data analysis in OCaml."
url {
src:
"https://github.com/akabe/ocaml-jupyter/releases/download/v2.0.0/jupyter-2.0.0.tbz"
checksum: [
"sha256=ad77cd64cd60dabdec6c1195949fc8ebb940f3f00d16432d5d9bb0dc427775b6"
"md5=99e49849c88b139356cea2eb142cae84"
]
}