/
opam
37 lines (37 loc) · 1.37 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"
maintainer: "Gabriel Radanne <drupyog@zoho.com>"
authors: "Gabriel Radanne <drupyog@zoho.com>"
homepage: "https://github.com/Drup/tyre"
bug-reports: "https://github.com/Drup/tyre/issues"
license: "ISC"
doc: "https://drup.github.io/tyre/0.3/Tyre.html"
tags: "regex"
dev-repo: "git+https://github.com/Drup/tyre.git"
build: [
["ocaml" "setup.ml" "-configure" "--prefix" prefix]
["ocaml" "setup.ml" "-build"]
["ocaml" "setup.ml" "-configure" "--prefix" prefix "--enable-tests"]
{with-test}
["ocaml" "setup.ml" "-build"] {with-test}
["ocaml" "setup.ml" "-test"] {with-test}
["ocaml" "setup.ml" "-doc"] {with-doc}
]
install: ["ocaml" "setup.ml" "-install"]
remove: ["ocamlfind" "remove" "tyre"]
depends: [
"ocaml" {>= "4.02.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
"re" {>= "1.7.0" & < "1.9.0"}
"alcotest" {with-test & >= "0.6.0" & < "0.8.0"}
"result"
]
synopsis: "Typed Regular Expressions"
description: """
Tyre is a set of combinators to build type-safe regular expressions, allowing automatic extraction and modification of matched groups.
Tyre is bi-directional: a typed regular expressions can be used for parsing and unparsing. It also allows routing, by providing a list of regexs/routes and their handlers."""
flags: light-uninstall
url {
src: "https://github.com/Drup/tyre/archive/0.3.tar.gz"
checksum: "md5=3260227f51b22c64cd43cd4c88b796b6"
}