Skip to content

Commit

Permalink
+ppx_deriving.4.2
Browse files Browse the repository at this point in the history
* Add support for OCaml 4.05.0.
* Use the `ocaml-migrate-parsetree` library to support multiple
  versions of OCaml.
* Fix comparison order of fields in records (ocaml-ppx/ppx_deriving#136).
* Silence an `unused rec flag` warning in generated code (ocaml-ppx/ppx_deriving#137).
* Monomorphize comparison function for builtin types (ocaml-ppx/ppx_deriving#115)
* Raise an error when `type nonrec` is encountered (ocaml-ppx/ppx_deriving#116).
* Display an error message when dynamic package loading fails.
* Add a `with_path` option to `@@deriving` to skip the module path
  in generated code (ocaml-ppx/ppx_deriving#120).

The homepage for the project has now moved to:
<https://github.com/ocaml-ppx/ppx_deriving>
  • Loading branch information
avsm committed Aug 22, 2017
1 parent fbe8ef4 commit 53d7a30
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 0 deletions.
5 changes: 5 additions & 0 deletions packages/ppx_deriving/ppx_deriving.4.2/descr
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Type-driven code generation for OCaml >=4.02

ppx_deriving provides common infrastructure for generating
code based on type definitions, and a set of useful plugins
for common tasks.
32 changes: 32 additions & 0 deletions packages/ppx_deriving/ppx_deriving.4.2/opam
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
opam-version: "1.2"
maintainer: "whitequark <whitequark@whitequark.org>"
authors: [ "whitequark <whitequark@whitequark.org>" ]
license: "MIT"
homepage: "https://github.com/ocaml-ppx/ppx_deriving"
doc: "https://whitequark.github.io/ppx_deriving"
bug-reports: "https://github.com/ocaml-ppx/ppx_deriving/issues"
dev-repo: "https://github.com/ocaml-ppx/ppx_deriving.git"
tags: [ "syntax" ]
substs: [ "pkg/META" ]
build: [
# If there is no native dynlink, we can't use native builds
"ocaml" "pkg/build.ml" "native=%{ocaml-native-dynlink}%"
"native-dynlink=%{ocaml-native-dynlink}%"
]
build-test: [
"ocamlbuild" "-classic-display" "-use-ocamlfind" "src_test/test_ppx_deriving.byte" "--"
]
build-doc: [
make "doc"
]
depends: [
"ocamlbuild" {build}
"ocamlfind" {build & >= "1.6.0"}
"cppo" {build}
"ocaml-migrate-parsetree"
"ppx_derivers"
"ppx_tools" {>= "4.02.3"}
"result"
"ounit" {test}
]
available: [ ocaml-version >= "4.02.1" & opam-version >= "1.2" & ocaml-version < "4.06.0" ]
2 changes: 2 additions & 0 deletions packages/ppx_deriving/ppx_deriving.4.2/url
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
http: "https://github.com/whitequark/ppx_deriving/archive/v4.2.tar.gz"
checksum: "76231b39815ffd8ddbdcdc93ea930a75"

0 comments on commit 53d7a30

Please sign in to comment.