|
| 1 | +opam-version: "2.0" |
| 2 | +synopsis: "Standard library for ppx rewriters" |
| 3 | +description: """ |
| 4 | +Ppxlib is the standard library for ppx rewriters and other programs |
| 5 | +that manipulate the in-memory representation of OCaml programs, a.k.a |
| 6 | +the "Parsetree". |
| 7 | + |
| 8 | +It also comes bundled with two ppx rewriters that are commonly used to |
| 9 | +write tools that manipulate and/or generate Parsetree values; |
| 10 | +`ppxlib.metaquot` which allows to construct Parsetree values using the |
| 11 | +OCaml syntax directly and `ppxlib.traverse` which provides various |
| 12 | +ways of automatically traversing values of a given type, in particular |
| 13 | +allowing to inject a complex structured value into generated code. |
| 14 | +""" |
| 15 | + |
| 16 | +authors: ["Jane Street Group, LLC < [email protected]>"] |
| 17 | +license: "MIT" |
| 18 | +homepage: "https://github.com/ocaml-ppx/ppxlib" |
| 19 | +doc: "https://ocaml-ppx.github.io/ppxlib/" |
| 20 | +bug-reports: "https://github.com/ocaml-ppx/ppxlib/issues" |
| 21 | +depends: [ |
| 22 | + "dune" {>= "2.7"} |
| 23 | + "ocaml" {>= "4.04.1" & < "5.1.0"} |
| 24 | + "ocaml-compiler-libs" {>= "v0.11.0"} |
| 25 | + "ppx_derivers" {>= "1.0"} |
| 26 | + "sexplib0" {>= "v0.12"} |
| 27 | + "sexplib0" {with-test & >= "v0.15"} |
| 28 | + "stdlib-shims" |
| 29 | + "ocamlfind" {with-test} |
| 30 | + "re" {with-test & >= "1.9.0"} |
| 31 | + "cinaps" {with-test & >= "v0.12.1"} |
| 32 | + "base" {with-test} |
| 33 | + "stdio" {with-test} |
| 34 | + "odoc" {with-doc} |
| 35 | +] |
| 36 | +conflicts: [ |
| 37 | + "ocaml-migrate-parsetree" {< "2.0.0"} |
| 38 | + "base-effects" |
| 39 | +] |
| 40 | +build: [ |
| 41 | + ["dune" "subst"] {dev} |
| 42 | + [ |
| 43 | + "dune" |
| 44 | + "build" |
| 45 | + "-p" |
| 46 | + name |
| 47 | + "-j" |
| 48 | + jobs |
| 49 | + "@install" |
| 50 | + "@runtest" {with-test} |
| 51 | + "@doc" {with-doc} |
| 52 | + ] |
| 53 | +] |
| 54 | +dev-repo: "git+https://github.com/ocaml-ppx/ppxlib.git" |
| 55 | +url { |
| 56 | + src: |
| 57 | + "https://github.com/ocaml-ppx/ppxlib/releases/download/0.29.1/ppxlib-0.29.1.tbz" |
| 58 | + checksum: [ |
| 59 | + "sha256=c8ea8c8770414fdba6612e7f2d814b21a493daa974ea862a90c8e6c766e5dd79" |
| 60 | + "sha512=edc468e9111cc26e31825e475fd72f55123a22fe86548e07e7d111796fecb8d60359b1b53c7eac383e5e2114cbae74dfd9c166f330e84cbeab4ddfd5797e322f" |
| 61 | + ] |
| 62 | +} |
| 63 | +x-commit-hash: "36fcba0408b78963a730e0be92abdbab00b0ea26" |
0 commit comments