-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
54 lines (54 loc) · 1.4 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
50
51
52
53
54
opam-version: "2.0"
authors: "Simon Cruanes"
maintainer: "simon.cruanes.2007@m4x.org"
build: [
[
"./configure"
"--%{yojson:enable}%-yojson"
"--%{bencode:enable}%-bencode"
"--%{sexplib:enable}%-sexp"
]
[make "build"]
[make "test"] {with-test}
[make "doc"] {with-doc}
]
install: [
[make "install"]
]
remove: [
["ocamlfind" "remove" "cconv"]
]
depends: [
"ocaml" {>= "4.00.0" & < "5.0"}
"ocamlfind" {build}
"ocamlbuild" {build}
]
depopts: [
"bencode"
"sexplib"
"yojson"
]
conflicts: [
"bencode" {>= "2.0"}
"yojson" {>= "2.0.0"}
]
tags: ["conversion" "gadt" "serialization"]
homepage: "https://github.com/c-cube/cconv/"
doc: "http://cedeela.fr/~simon/software/cconv/"
dev-repo: "git+https://github.com/c-cube/cconv.git"
bug-reports: "https://github.com/c-cube/cconv/issues/"
synopsis: "Combinators for Type Conversion in OCaml."
description: """
CConv provides type-safe combinators for describing how to read/build OCaml
values of a given type. Those combinators can be used for serializing and
deserializing the values into several formats. The library ships with
conversion to Json (yojson), S-expressions (sexplib) and B-encode."""
flags: light-uninstall
url {
src:
"https://github.com/ocaml/opam-source-archives/raw/main/cconv-0.2.tar.gz"
checksum: [
"sha256=1224711ff8b4ad416d349e59716728f24c7d460a6449e77deeba8fe1c79b26c9"
"md5=ac8384a679cec49f2dda98fe3f5ba59b"
]
}