|
| 1 | +opam-version: "2.0" |
| 2 | +synopsis: "Standard infrastructure for ppx rewriters" |
| 3 | +description: """ |
| 4 | +Ppxlib is the standard infrastructure for ppx rewriters |
| 5 | +and other programs that manipulate the in-memory representation of |
| 6 | +OCaml programs, a.k.a 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.2.0" & != "5.1.0~alpha1"} |
| 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 | + "odoc" {with-doc} |
| 33 | +] |
| 34 | +conflicts: [ |
| 35 | + "ocaml-migrate-parsetree" {< "2.0.0"} |
| 36 | + "base-effects" |
| 37 | +] |
| 38 | +build: [ |
| 39 | + ["dune" "subst"] {dev} |
| 40 | + [ |
| 41 | + "dune" |
| 42 | + "build" |
| 43 | + "-p" |
| 44 | + name |
| 45 | + "-j" |
| 46 | + jobs |
| 47 | + "@install" |
| 48 | + "@runtest" {with-test} |
| 49 | + "@doc" {with-doc} |
| 50 | + ] |
| 51 | +] |
| 52 | +dev-repo: "git+https://github.com/ocaml-ppx/ppxlib.git" |
| 53 | +url { |
| 54 | + src: |
| 55 | + "https://github.com/ocaml-ppx/ppxlib/releases/download/0.31.0/ppxlib-0.31.0.tbz" |
| 56 | + checksum: [ |
| 57 | + "sha256=d21676654e57faa12d7895caffe8703b64521d66efcf152491871a55b2ae41d8" |
| 58 | + "sha512=63f2d327cfc5382476f812670d304aade91b3ea8f10420d6fc9e7078112368d99dbf43dfda9c2c2cf91341b71c37c45c1fe1d54fecde2348560f9d3c48571603" |
| 59 | + ] |
| 60 | +} |
| 61 | +x-commit-hash: "e765a30151347f8044ce077d103d3828db8d5409" |
0 commit comments