-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
70 lines (69 loc) · 1.85 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
66
67
68
69
70
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: [
[ "ocaml" "setup.ml" "-configure"
"--prefix" prefix
"--enable-archimedes" {cairo2:installed & archimedes:installed} ]
[ "ocaml" "setup.ml" "-build" ]
]
install: [
[ "ocaml" "setup.ml" "-install" ]
]
remove: [
[ "sh" "-c" "cd %{share}%/ocaml-jupyter ; ocaml setup.ml -uninstall" ]
[ "rm" "-rf" "%{share}%/ocaml-jupyter" ]
]
depends: [
"ocaml" {>= "4.02.0" & < "4.08.0"}
"base-threads"
"base-unix"
"uuidm"
"base64" {< "3.0.0"}
"lwt" {< "4.0.0"}
"stdint" {< "0.4.0"}
"zmq" {>= "4.0-8" & < "5.0.0"}
"lwt-zmq" {>= "2.1.0"}
"yojson"
"ppx_deriving_yojson" {>= "3.0"}
"cryptokit"
"ocamlfind" {build & >= "1.5.0"}
"ocamlbuild" {build}
"cppo" {build}
"cppo_ocamlbuild" {build}
]
depopts: [
"merlin"
"cairo2"
"archimedes"
]
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-%{switch}% \\
%{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/archive/v1.0.0.tar.gz"
checksum: [
"sha256=03c1ccf4220ac7ed6ddf95487645fbdd881a6b27732d34f403f9b66695a4d83a"
"md5=41433c7a82862f6ee0ece5ffd2aed0b6"
]
}