-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
41 lines (40 loc) · 1.45 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
opam-version: "2.0"
maintainer: "Anders Fugmann <anders@fugmann.net>"
authors: "Anders Fugmann"
homepage: "https://github.com/andersfugmann/ppx_protocol_conv"
dev-repo: "git+https://github.com/andersfugmann/ppx_protocol_conv"
bug-reports: "https://github.com/andersfugmann/ppx_protocol_conv/issues"
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
["dune" "runtest" "-p" name "-j" jobs] {with-test}
]
depends: [
"ocaml" {>= "4.04"}
"base" {< "v0.14"}
"dune"
"ppxlib" {>= "0.3.0" & < "0.9.0"}
"ppx_sexp_conv" {with-test & < "v0.14"}
"sexplib" {with-test & < "v0.14"}
"ounit" {with-test}
]
synopsis:
"Ppx for generating serialisation and de-serialisation functions of ocaml types"
description: """
Ppx_protocol_conv generates code to serialise and de-serialise
types. The ppx itself does not contain any protocol specific code,
but relies on 'drivers' that defines serialisation and
de-serialisation of basic types and structures.
Pre-defined drivers are available in separate packages:
ppx_protocol_conv_json (Yojson.Safe.json)
ppx_protocol_conv_msgpack (Msgpck.t)(Xml.xml)
ppx_protocol_conv_xml-light (Xml.xml)
ppx_protocol_conv_yaml (Yaml.t)"""
url {
src:
"https://github.com/andersfugmann/ppx_protocol_conv/archive/3.1.3.tar.gz"
checksum: [
"md5=891e1169b50d6ba3f08efea77e80ce3a"
"sha512=c1801c78dba94cd4c67aae5715c580e8a8d963bf064c1e45dffcebd50f13e1b2acf23a07e19231a22ed97970b1b42fb79dee27e6a14c9fc643815fddf6ceab6d"
]
}