Skip to content

Commit 96cc48e

Browse files
authored
Merge pull request #28174 from chetmurthy/release-pa_ppx.0.20
2 parents 224060a + 2f73561 commit 96cc48e

File tree

1 file changed

+78
-0
lines changed
  • packages/pa_ppx/pa_ppx.0.20

1 file changed

+78
-0
lines changed

packages/pa_ppx/pa_ppx.0.20/opam

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
2+
synopsis: "PPX Rewriters for Ocaml, written using Camlp5"
3+
description:
4+
"""
5+
This is a collection of PPX rewriters, re-implementing those based on ppxlib
6+
and other libraries, but instead based on Camlp5. Included is also a collection
7+
of support libraries for writing new PPX rewriters. Included are:
8+
9+
pa_assert: ppx_assert
10+
pa_ppx.deriving, pa_ppx.deriving_plugins (enum, eq, fold, iter, make, map, ord, sexp, show, yojson):
11+
ppx_deriving, plugins, ppx_sexp_conv, ppx_deriving_yojson
12+
pa_ppx.expect_test: ppx_expect_test
13+
pa_ppx.here: ppx_here
14+
pa_ppx.import: ppx_import
15+
pa_ppx.inline_test: ppx_inline_test
16+
17+
pa_ppx.undo_deriving: pa_ppx.deriving expands [@@deriving ...] into code; this rewriter undoes that.
18+
pa_ppx.unmatched_vala: expands to match-cases (support library for camlp5-based PPX rewriters)
19+
pa_ppx.hashrecons: support for writing AST rewriters that automatically fills in hash-consing boilerplate
20+
pa_dock: implements doc-comment extraction for camlp5 preprocessors
21+
22+
Many of the reimplementations in fact offer significant enhanced
23+
function, described in the pa_ppx documentation. In addition, there
24+
is an extensive test-suite, much of it slightly modified versions of
25+
the tests for the respective PPX rewriters.
26+
27+
"""
28+
opam-version: "2.0"
29+
x-maintenance-intent: [ "(latest)" ]
30+
maintainer: "Chet Murthy <[email protected]>"
31+
authors: ["Chet Murthy"]
32+
homepage: "https://github.com/camlp5/pa_ppx"
33+
license: "BSD-3-Clause"
34+
bug-reports: "https://github.com/camlp5/pa_ppx/issues"
35+
dev-repo: "git+https://github.com/camlp5/pa_ppx.git"
36+
doc: "https://github.com/camlp5/pa_ppx/doc"
37+
x-ci-accept-failures: [ "opensuse-tumbleweed" ]
38+
39+
depends: [
40+
"ocaml" { >= "4.10.0" & < "5.4.0" }
41+
"conf-perl"
42+
"camlp5-buildscripts" { >= "0.03" }
43+
"camlp5" { >= "8.03.06" }
44+
"not-ocamlfind" { >= "0.10" }
45+
"pcre2"
46+
"result" { >= "1.5" }
47+
"yojson" { >= "1.7.0" }
48+
"yojson" { with-test & >= "3.0.0" }
49+
"sexplib0"
50+
"bos" { >= "0.2.0" }
51+
"fmt"
52+
"uint" { >= "2.0.1" }
53+
"ounit"
54+
"mdx" {>= "2.3.0" & with-test}
55+
"cppo"
56+
"sexplib" { >= "v0.14.0" }
57+
"ppx_import" { with-test & >= "1.7.1" & <= "1.11.0" }
58+
"ppx_deriving" { with-test & >= "6.0.2" }
59+
"ppx_deriving_yojson" { with-test & >= "3.10.0" }
60+
"ppx_here" { with-test & >= "v0.13.0" }
61+
"ppx_sexp_conv" { with-test & >= "v0.13.0" }
62+
# "expect_test_helpers" { with-test & >= "v0.13.0" }
63+
]
64+
conflicts: [
65+
"ocaml-option-bytecode-only"
66+
]
67+
build: [
68+
[make "get-generated"]
69+
[make "-j%{jobs}%" "DEBUG=-g" "sys"]
70+
[make "DEBUG=-g" "test"] {with-test}
71+
]
72+
install: [make "install"]
73+
url {
74+
src: "https://github.com/camlp5/pa_ppx/archive/refs/tags/0.20.tar.gz"
75+
checksum: [
76+
"sha512=ff58c156d84c682c720c4b3eb7b3fc2c226750458f328cc03eb4f541c1e4a82303deae864a015e2a353350010c277466f2c7a36eb46e78d616d24e71ca695f58"
77+
]
78+
}

0 commit comments

Comments
 (0)