|
| 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" {>= "3.8"} |
| 23 | + "ocaml" {>= "4.08.0" & < "5.4.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 | + "ocamlformat" {with-dev-setup & = "0.26.2"} |
| 33 | + "odoc" {with-doc} |
| 34 | +] |
| 35 | +conflicts: [ |
| 36 | + "ocaml-migrate-parsetree" {< "2.0.0"} |
| 37 | + "ocaml-base-compiler" {= "5.1.0~alpha1"} |
| 38 | + "ocaml-variants" {= "5.1.0~alpha1+options"} |
| 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 | +x-maintenance-intent: ["(latest)"] |
| 56 | +url { |
| 57 | + src: |
| 58 | + "https://github.com/ocaml-ppx/ppxlib/releases/download/0.36.0/ppxlib-0.36.0.tbz" |
| 59 | + checksum: [ |
| 60 | + "sha256=5aba1bce14c53108614130110c843d004bf93bd2cf3a0778fd7086b85390a434" |
| 61 | + "sha512=1e3e8fee42fe74bffc178dbcbb2db8ec38dd23e71f6fed3c4c92618cf93892f5847787e6e9abb322f5c85d29a76afde28ce840b42e10fedc14cd82ba578ad06a" |
| 62 | + ] |
| 63 | +} |
| 64 | +x-commit-hash: "f1667f502e197275b873175406f181c86954795e" |
0 commit comments