devel/ocaml-ppx_hash 0.16.0_1 FreeBSD
Deriving PPX plugin to generate hash functions
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- MIT
- Categories
- devel
- Package size
- 222.5 KiB, 863.7 KiB installed
Description
This PPX rewriter plugin derives hash functions from OCaml type definitions and (anonymous) type annotations. The generated functions are usualy faster than their polymorphic equivalent from the OCaml standard library. It is also possible to ignore one or more member of a tuple or structure.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | devel/ocaml-ppx_hash | 0.16.0_1 |
| NetBSD | devel/ocaml-ppx_hash | 0.15.0nb2 |
| DragonFly | devel/ocaml-ppx_hash | 0.16.0_1 |
| GhostBSD | devel/ocaml-ppx_hash | 0.16.0_1 |
Install
Binary package:
pkg install ocaml-ppx_hash
From the ports tree:
cd /usr/ports/devel/ocaml-ppx_hash/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= ocaml-ppx_hash>0:devel/ocaml-ppx_hash
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | 0.16.0_1 | 0.16.0_1 | - | - | 0.16.0_1 |
| FreeBSD:14:quarterly | 0.16.0_1 | 0.16.0_1 | n/a | - | 0.16.0_1 |
| FreeBSD:15:latest | 0.16.0_1 | 0.16.0_1 | n/a | - | 0.16.0_1 |
| FreeBSD:15:quarterly | 0.16.0_1 | 0.16.0_1 | n/a | n/a | n/a |
| FreeBSD:16:latest | 0.16.0_1 | 0.16.0_1 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 4
${LOCALBASE}/${OCAML_SITELIBDIR}/base/META: devel/ocaml-base${LOCALBASE}/${OCAML_SITELIBDIR}/ppx_compare/META: devel/ocaml-ppx_compare${LOCALBASE}/${OCAML_SITELIBDIR}/ppx_sexp_conv/META: devel/ocaml-ppx_sexp_conv${LOCALBASE}/${OCAML_SITELIBDIR}/ppxlib/META: devel/ocaml-ppxlib
Runtime 5
${LOCALBASE}/${OCAML_SITELIBDIR}/base/META: devel/ocaml-base${LOCALBASE}/${OCAML_SITELIBDIR}/ppx_compare/META: devel/ocaml-ppx_compare${LOCALBASE}/${OCAML_SITELIBDIR}/ppx_sexp_conv/META: devel/ocaml-ppx_sexp_conv${LOCALBASE}/${OCAML_SITELIBDIR}/ppxlib/META: devel/ocaml-ppxlib${LOCALBASE}/${OCAML_SITELIBDIR}/sexplib0/META: devel/ocaml-sexplib0
The full lists below include those, and their dependencies in turn.
Build dependencies 30
- archivers/brotli
- devel/gettext-runtime
- devel/ocaml-base
- devel/ocaml-compiler-libs
- devel/ocaml-dune
- devel/ocaml-findlib
- devel/ocaml-ppx_compare
- devel/ocaml-ppx_derivers
- devel/ocaml-ppx_deriving
- devel/ocaml-ppx_sexp_conv
- devel/ocaml-ppxlib
- devel/ocaml-sexplib0
- graphics/png
- lang/ocaml
- lang/tcl86
- print/freetype2
- print/indexinfo
- textproc/expat2
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-toolkits/ocaml-labltk
- x11-toolkits/tk86
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/xorgproto
Run dependencies 29
- archivers/brotli
- devel/gettext-runtime
- devel/ocaml-base
- devel/ocaml-compiler-libs
- devel/ocaml-findlib
- devel/ocaml-ppx_compare
- devel/ocaml-ppx_derivers
- devel/ocaml-ppx_deriving
- devel/ocaml-ppx_sexp_conv
- devel/ocaml-ppxlib
- devel/ocaml-sexplib0
- graphics/png
- lang/ocaml
- lang/tcl86
- print/freetype2
- print/indexinfo
- textproc/expat2
- x11-fonts/fontconfig
- x11-fonts/libXft
- x11-toolkits/ocaml-labltk
- x11-toolkits/tk86
- x11/libX11
- x11/libXScrnSaver
- x11/libXau
- x11/libXdmcp
- x11/libXext
- x11/libXrender
- x11/libxcb
- x11/xorgproto
Configuration
Options name: devel_ppx_hash
| Option | Default | Description |
|---|---|---|
| DOCS | off | Build and/or install documentation |
- USES
- ocaml:dune
- Service scripts
- none
Files
pkg-plist 31
- %%OCAML_SITELIBDIR%%/ppx_hash/META
- %%OCAML_SITELIBDIR%%/ppx_hash/dune-package
- %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.a
- %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.cma
- %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.cmi
- %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.cmt
- %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.cmti
- %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.cmx
- %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.cmxa
- %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.cmxs
- %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.ml
- %%OCAML_SITELIBDIR%%/ppx_hash/expander/ppx_hash_expander.mli
- %%OCAML_SITELIBDIR%%/ppx_hash/opam
- %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.a
- %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.cma
- %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.cmi
- %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.cmt
- %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.cmti
- %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.cmx
- %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.cmxa
- %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.cmxs
- %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.ml
- %%OCAML_SITELIBDIR%%/ppx_hash/ppx_hash.mli
- %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.a
- %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.cma
- %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.cmi
- %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.cmt
- %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.cmx
- %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.cmxa
- %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.cmxs
- %%OCAML_SITELIBDIR%%/ppx_hash/runtime-lib/ppx_hash_lib.ml
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| janestreet-ppx_hash-v0.16.0_GH0.tar.gz | 28660 | eefad2003ae76216bf086d5c313012aac1df0be708aaf0b4e24c81f6c51a03cf |
Commit history 0
No commits in the history this site was built from.