-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* 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
Showing
3 changed files
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" ] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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" |