-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
opam
51 lines (50 loc) · 2.01 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
43
44
45
46
47
48
49
50
51
opam-version: "2.0"
maintainer: "Jane Street developers"
authors: ["Jane Street Group, LLC"]
homepage: "https://github.com/ocaml-ppx/ppxlib"
bug-reports: "https://github.com/ocaml-ppx/ppxlib/issues"
dev-repo: "git+https://github.com/ocaml-ppx/ppxlib.git"
doc: "https://ocaml-ppx.github.io/ppxlib/"
license: "MIT"
build: [
["dune" "subst"] {dev}
["dune" "build" "-p" name "-j" jobs]
]
run-test: [
["dune" "runtest" "-p" name "-j" jobs] { ocaml:version >= "4.10" }
]
depends: [
"ocaml" {>= "4.04.1" & < "4.12"}
"dune" {>= "1.11"}
"ocaml-compiler-libs" {>= "v0.11.0"}
"ocaml-migrate-parsetree" {>= "2.0.0"}
"ppx_derivers" {>= "1.0"}
"sexplib0" {>= "v0.12"}
"sexplib0" {with-test & < "v0.15"} # Printexc.register_printer in sexplib0 changed
"stdlib-shims"
"ocamlfind" {with-test}
"cinaps" {with-test & >= "v0.12.1"}
"base" {with-test}
"stdio" {with-test}
]
synopsis: "Standard library for ppx rewriters"
description: """
Ppxlib is the standard library for ppx rewriters and other programs
that manipulate the in-memory reprensation of OCaml programs, a.k.a
the "Parsetree".
It also comes bundled with two ppx rewriters that are commonly used to
write tools that manipulate and/or generate Parsetree values;
`ppxlib.metaquot` which allows to construct Parsetree values using the
OCaml syntax directly and `ppxlib.traverse` which provides various
ways of automatically traversing values of a given type, in particular
allowing to inject a complex structured value into generated code.
"""
x-commit-hash: "710a18a5a3b195d910d72ab97d6eeed536c8d7d3"
url {
src:
"https://github.com/ocaml-ppx/ppxlib/releases/download/0.17.0/ppxlib-0.17.0.tbz"
checksum: [
"sha256=d569dcdd01605c6e3f6b52c3fae1d99887fe1784cb18449772796553e3f5ce4f"
"sha512=48ceeb43d938e05d695377a41a391e9c0bc83900770bab1a396e45e0a8883d285067bb782777f827235f80452fd95015669be362d39888b2cf633e98b103bf5e"
]
}