/
opam
35 lines (33 loc) · 1.14 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
opam-version: "2.0"
maintainer: "https://github.com/ocaml/opam-repository/issues"
homepage: "https://github.com/mjambon/atdgen"
build: make
remove: [
["ocamlfind" "remove" "atdgen"]
]
depends: [
"ocaml" {< "4.03"}
"ocamlfind"
"atd" {>= "1.1.0" & < "1.13.0"}
"biniou" {>= "1.0.6"}
"yojson"
]
install: [make "install" "BINDIR=%{bin}%"]
synopsis:
"Generates efficient JSON serializers, deserializers and validators"
description: """
Atdgen is a command-line program that takes as input type definitions in the
ATD syntax and produces OCaml code suitable for data serialization and
deserialization.
Two data formats are currently supported, these are biniou and JSON.
Atdgen-biniou and Atdgen-json will refer to Atdgen used in one context or the
other.
Atdgen was designed with efficiency and durability in mind. Software authors
are encouraged to use Atdgen directly and to write tools that may reuse part of
Atdgen’s source code."""
flags: light-uninstall
extra-files: ["atdgen.install" "md5=8747b34b3b125cc7cdb5ead04902795d"]
url {
src: "https://github.com/mjambon/atdgen/archive/v1.4.1.tar.gz"
checksum: "md5=a373cdb4c002aba5a481fc333f380d74"
}