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