-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
37 lines (37 loc) · 1.46 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
opam-version: "2.0"
synopsis: "Library to reuse Cairo-based drawing code in web browsers"
description: """
JsOfOCairo is an OCaml (4.02.3+) library to reuse Cairo-based drawing code in web browsers.
It's an adapter, implementing (a reasonable subset of) the interface of [Cairo OCaml](https://github.com/Chris00/ocaml-cairo/)
targeting HTML5 canvas elements as exposed to OCaml by [js_of_ocaml](https://ocsigen.org/js_of_ocaml/) (3.0.0+)."""
maintainer: "Vincent Jacques <vincent@vincent-jacques.net>"
authors: "Vincent Jacques <vincent@vincent-jacques.net>"
license: "MIT"
homepage: "https://github.com/jacquev6/JsOfOCairo"
doc: "https://github.com/jacquev6/JsOfOCairo"
bug-reports: "http://github.com/jacquev6/JsOfOCairo/issues/"
depends: [
"ocaml" {>= "4.02.3"}
"dune"
"js_of_ocaml-compiler" {build & >= "3.0" & < "3.4"}
"js_of_ocaml-ppx" {build & >= "3.0" & < "3.4"}
"js_of_ocaml" {>= "3.0" & < "3.4"}
"General" {with-test & >= "0.6.0"}
"cairo2" {with-test & >= "0.6" & < "0.7"}
"conf-npm" {with-test}
]
conflicts: [
"cairo2" {< "0.6"}
]
build: [
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name] {with-test}
]
dev-repo: "git+https://github.com/jacquev6/JsOfOCairo.git"
url {
src: "https://github.com/jacquev6/JsOfOCairo/archive/2.0.0.tar.gz"
checksum: [
"md5=87870fb6886cf2d28dee9d51df86817c"
"sha512=b6aef679252745c07566b365acbd351123c5578f4ee9464ea028a05a0a27f0b16d55483a816766d7b66435edea366014efe13bc4840e8042634f761a48bf4e82"
]
}