/
opam
42 lines (42 loc) · 1.17 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
opam-version: "2.0"
maintainer: "Peter Zotov <whitequark@whitequark.org>"
authors: "Peter Zotov <whitequark@whitequark.org>"
homepage: "https://github.com/whitequark/ppx_deriving"
bug-reports: "https://github.com/whitequark/ppx_deriving/issues"
license: "MIT"
doc: "http://whitequark.github.io/ppx_deriving"
tags: "syntax"
dev-repo: "git+https://github.com/whitequark/ppx_deriving.git"
substs: "pkg/META"
build: [
[
"ocaml"
"pkg/build.ml"
"native=%{ocaml:native-dynlink}%"
"native-dynlink=%{ocaml:native-dynlink}%"
]
[
"ocamlbuild"
"-classic-display"
"-use-ocamlfind"
"src_test/test_ppx_deriving.byte"
"--"
] {with-test}
[make "doc"] {with-doc}
]
depends: [
"ocaml" {= "4.02.2" & < "4.03"}
"ppx_tools" {>= "0.99.2"}
"ocamlfind" {build & >= "1.5.4"}
"ounit" {with-test}
"ocamlbuild" {build}
]
synopsis: "Type-driven code generation for OCaml >=4.02"
description: """
ppx_deriving provides common infrastructure for generating
code based on type definitions, and a set of useful plugins
for common tasks."""
url {
src: "https://github.com/whitequark/ppx_deriving/archive/v2.0.tar.gz"
checksum: "md5=c15ad1c87f88a5876389fe28d05d925c"
}