this repo has no description
1opam-version: "2.0"
2maintainer: "simon.cruanes.2007@m4x.org"
3authors: "Simon Cruanes"
4homepage: "https://github.com/c-cube/cconv/"
5bug-reports: "https://github.com/c-cube/cconv/issues/"
6doc: "http://cedeela.fr/~simon/software/cconv/"
7tags: ["conversion" "gadt" "serialization"]
8dev-repo: "git+https://github.com/c-cube/cconv.git"
9build: [
10 [
11 "./configure"
12 "--%{yojson:enable}%-yojson"
13 "--%{bencode:enable}%-bencode"
14 "--%{sexplib:enable}%-sexp"
15 "--%{ppx_deriving:enable}%-ppx"
16 "--disable-tests"
17 "--%{doc:enable}%-docs"
18 ]
19 [make "build"]
20 [make "test"] {with-test}
21 [make "doc"] {with-doc}
22]
23install: [make "install"]
24remove: ["ocamlfind" "remove" "cconv"]
25depends: [
26 "ocaml" {>= "4.01.0" & < "5.0"}
27 "ocamlbuild" {build}
28 "cppo" {build}
29 "cppo_ocamlbuild" {build}
30 "ocamlfind" {build}
31]
32depopts: [
33 "bencode"
34 "sexplib"
35 "yojson"
36 "ppx_deriving"
37]
38conflicts: [
39 "bencode" {>= "2.0"}
40 "ppx_deriving" {< "2.0" | >= "5.0"}
41 "yojson" {>= "2.0.0"}
42]
43synopsis:
44 "Combinators for Type Conversion in OCaml, and ppx_deriving plugin."
45description: """
46CConv provides type-safe combinators for describing how to read/build OCaml
47values of a given type. Those combinators can be used for serializing and
48deserializing the values into several formats. The library ships with
49conversion to Json (yojson), S-expressions (sexplib) and B-encode.
50
51The library cconv.ppx contains a ppx_deriving plugin for automatically derive
52encoders and decoders."""
53flags: light-uninstall
54url {
55 src: "https://github.com/c-cube/cconv/archive/0.4.tar.gz"
56 checksum: [
57 "sha256=65e7be5926bcaeb5dbd045b1a70da7f6f8d23fb7215f02262fb19ee011e5bedf"
58 "md5=25d873aa26a0521ab3b015fdb7f26e28"
59 ]
60}