-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
36 lines (36 loc) · 1.22 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
opam-version: "2.0"
maintainer: "vb@luminar.eu.org"
authors: "Jérémie Dimino"
homepage: "https://github.com/vbmithr/ocaml-text"
bug-reports: "https://github.com/vbmithr/ocaml-text/issues"
build: [
[make "setup.exe"]
["./setup.exe" "-configure" "--%{pcre:enable}%-pcre" "--%{camlp4:enable}%-camlp4"]
[make]
]
install: [make "install"]
depends: [
"ocaml" {< "5.0"}
"ocamlfind" {build}
"base-bytes"
"ocamlbuild" {build}
]
depopts: ["pcre" "camlp4"]
dev-repo: "git+https://github.com/vbmithr/ocaml-text"
doc: "https://vbmithr.github.io/ocaml-text/doc"
synopsis:
"Library for dealing with \"text\", i.e. sequence of unicode characters, in a convenient way"
description:"""It supports:
- character encoding/decoding using iconv
- manipulation of text as UTF-8 encoded strings
- localised text functions such as compare, upper, ...
- human readable regular expression inside patterns
"""
url {
src:
"https://github.com/vbmithr/ocaml-text/releases/download/0.8.1/text-0.8.1.tbz"
checksum: [
"sha256=163b2cbc9f07915ea9093333b689f85fb6bcad3c4876222001f19c2016ee1d54"
"sha512=b096d761fd664bb8a814bedf8d5454de305d82baf43d5e59528e04126d573c6c337e6b8bd7c58e647e7020f6dcb7d4bd42ddd2730296808de28bc556ccdea187"
]
}