/
opam
49 lines (49 loc) · 1.6 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
opam-version: "2.0"
synopsis: "Compiler from OCaml bytecode to JavaScript"
description:
"Js_of_ocaml is a compiler from OCaml bytecode to JavaScript. It makes it possible to run pure OCaml programs in JavaScript environment like browsers and Node.js"
maintainer: ["Ocsigen team <dev@ocsigen.org>"]
authors: ["Ocsigen team <dev@ocsigen.org>"]
license:
"GPL-2.0-or-later AND LGPL-2.1-or-later WITH OCaml-LGPL-linking-exception"
homepage: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
doc: "https://ocsigen.org/js_of_ocaml/latest/manual/overview"
bug-reports: "https://github.com/ocsigen/js_of_ocaml/issues"
depends: [
"dune" {>= "2.9"}
"ocaml" {>= "4.04"}
"js_of_ocaml" {= version}
"js_of_ocaml-ppx" {= version}
"lwt" {>= "2.4.4"}
"num" {with-test}
"ppx_expect" {>= "v0.14.2" & with-test}
"ppxlib" {>= "0.22.0" & with-test}
"re" {>= "1.9.0" & with-test}
"odoc" {with-doc}
]
depopts: ["graphics" "lwt_log"]
dev-repo: "git+https://github.com/ocsigen/js_of_ocaml.git"
build: [
["dune" "subst"] {dev}
[
"dune"
"build"
"-p"
name
"-j"
jobs
"--promote-install-files=false"
"@install"
"@doc" {with-doc}
]
["dune" "install" "-p" name "--create-install-files" name]
]
url {
src:
"https://github.com/ocsigen/js_of_ocaml/releases/download/4.0.0/js_of_ocaml-4.0.0.tbz"
checksum: [
"sha256=df02f819e5b2f48234af2b3e3e7c9781afa8212f8bece7ebcfbd8358b394495e"
"sha512=92e822849c8be14ce0428f7f4be3991449f76e65d408073a5b8b9674ba2d099439027aa11618b603c7ee31a179cf6976d54a929917a69b269425f0367926c200"
]
}
x-commit-hash: "6fb1d008061b6c028c375b240882bb735d54a5bc"