-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
33 lines (33 loc) · 1.08 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
opam-version: "2.0"
maintainer: "Vincent Jacques <vincent@vincent-jacques.net>"
authors: "Vincent Jacques <vincent@vincent-jacques.net>"
homepage: "https://jacquev6.github.io/DrawGrammar/"
bug-reports: "http://github.com/jacquev6/DrawGrammar/issues/"
dev-repo: "git+https://github.com/jacquev6/DrawGrammar.git"
build: [
"sh"
"-c"
"cd src; ocamlbuild -use-ocamlfind -no-plugin -menhir \"menhir --table\" draw_grammar.byte"
]
install: ["cp" "src/_build/draw_grammar.byte" "%{prefix}%/bin/draw_grammar"]
remove: ["rm" "-f" "%{prefix}%/bin/draw_grammar"]
depends: [
"ocaml" {>= "4.02.2" & < "4.06.0"}
"ocamlbuild" {build}
"ocamlfind" {build}
"menhir"
"JsOfOCairo" {< "2.0.0"}
"cairo2"
"General" {< "0.4"}
]
synopsis: "Draw railroad diagrams of EBNF grammars"
description:
"An [interactive demo](http://jacquev6.github.io/DrawGrammar/) is available."
flags: light-uninstall
url {
src: "https://github.com/jacquev6/DrawGrammar/archive/0.1.0.tar.gz"
checksum: [
"sha256=0ec40d1e93149635116bef5aee8a702c17e7cb0eb14cd6b6b7d94ac1622eb3d6"
"md5=6c3dfc5c3368ed887d5d9bc38cb7472e"
]
}