summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjaapb <jaapb@pkgsrc.org>2017-10-11 14:22:39 +0000
committerjaapb <jaapb@pkgsrc.org>2017-10-11 14:22:39 +0000
commitaaa7c9f629d1873cac230abb0a9ab8d45a17738d (patch)
treefa9f86c3d0fa3c8b1284aa44bcd8234defef9086 /devel
parent4f736d3b51857edbbf9c80ea72b527c91d6c5173 (diff)
downloadpkgsrc-aaa7c9f629d1873cac230abb0a9ab8d45a17738d.tar.gz
New package devel/ocaml-ppx_hash.
This is an OCaml library that automatically generates hash functions from type definitions. It's needed as a dependency for devel/ocaml-ppx_base.
Diffstat (limited to 'devel')
-rw-r--r--devel/ocaml-ppx_hash/DESCR2
-rw-r--r--devel/ocaml-ppx_hash/Makefile28
-rw-r--r--devel/ocaml-ppx_hash/PLIST43
-rw-r--r--devel/ocaml-ppx_hash/buildlink3.mk13
-rw-r--r--devel/ocaml-ppx_hash/distinfo6
5 files changed, 92 insertions, 0 deletions
diff --git a/devel/ocaml-ppx_hash/DESCR b/devel/ocaml-ppx_hash/DESCR
new file mode 100644
index 00000000000..204962ee57f
--- /dev/null
+++ b/devel/ocaml-ppx_hash/DESCR
@@ -0,0 +1,2 @@
+A ppx writer that generates hash functions from type expressions and
+definitions.
diff --git a/devel/ocaml-ppx_hash/Makefile b/devel/ocaml-ppx_hash/Makefile
new file mode 100644
index 00000000000..e052c6a9ad4
--- /dev/null
+++ b/devel/ocaml-ppx_hash/Makefile
@@ -0,0 +1,28 @@
+# $NetBSD: Makefile,v 1.1 2017/10/11 14:22:39 jaapb Exp $
+
+GITHUB_PROJECT= ppx_hash
+GITHUB_TAG= v${PKGVERSION_NOREV}
+DISTNAME= ${GITHUB_PROJECT}-0.9.0
+PKGNAME= ocaml-${DISTNAME}
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_GITHUB:=janestreet/}
+
+MAINTAINER= jaapb@NetBSD.org
+HOMEPAGE= https://github.com/janestreet/ppx_hash/
+COMMENT= Rewriter that generates hash functions from types
+LICENSE= apache-2.0
+
+USE_LANGUAGES= # none
+
+OCAML_USE_JBUILDER= yes
+
+.include "../../mk/ocaml.mk"
+.include "../../devel/ocaml-base/buildlink3.mk"
+.include "../../devel/ocaml-ppx_compare/buildlink3.mk"
+.include "../../devel/ocaml-ppx_core/buildlink3.mk"
+.include "../../devel/ocaml-ppx_driver/buildlink3.mk"
+.include "../../devel/ocaml-ppx_metaquot/buildlink3.mk"
+.include "../../devel/ocaml-ppx_sexp_conv/buildlink3.mk"
+.include "../../devel/ocaml-ppx_type_conv/buildlink3.mk"
+.include "../../devel/ocaml-migrate-parsetree/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/ocaml-ppx_hash/PLIST b/devel/ocaml-ppx_hash/PLIST
new file mode 100644
index 00000000000..efa2e1e8c95
--- /dev/null
+++ b/devel/ocaml-ppx_hash/PLIST
@@ -0,0 +1,43 @@
+@comment $NetBSD: PLIST,v 1.1 2017/10/11 14:22:39 jaapb Exp $
+${OCAML_SITELIB}/ppx_hash/META
+${OCAML_SITELIB}/ppx_hash/expander/expand.mli
+${OCAML_SITELIB}/ppx_hash/expander/expand_intf.ml
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib.a
+${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib.cma
+${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib.cmi
+${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib.cmxs
+${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib.ml-gen
+${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib__Expand.cmi
+${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib__Expand.cmt
+${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib__Expand.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib__Expand.cmx
+${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib__Expand_intf.cmi
+${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib__Expand_intf.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib__Expand_intf.cmx
+${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib__Std.cmi
+${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib__Std.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/expander/ppx_hash_expander_lib__Std.cmx
+${OCAML_SITELIB}/ppx_hash/expander/std.ml
+${OCAML_SITELIB}/ppx_hash/opam
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/ppx_hash.a
+${OCAML_SITELIB}/ppx_hash/ppx_hash.cma
+${OCAML_SITELIB}/ppx_hash/ppx_hash.cmi
+${OCAML_SITELIB}/ppx_hash/ppx_hash.cmt
+${OCAML_SITELIB}/ppx_hash/ppx_hash.cmti
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/ppx_hash.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/ppx_hash.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/ppx_hash.cmxs
+${OCAML_SITELIB}/ppx_hash/ppx_hash.mli
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/runtime-lib/ppx_hash_lib.a
+${OCAML_SITELIB}/ppx_hash/runtime-lib/ppx_hash_lib.cma
+${OCAML_SITELIB}/ppx_hash/runtime-lib/ppx_hash_lib.cmi
+${OCAML_SITELIB}/ppx_hash/runtime-lib/ppx_hash_lib.cmt
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/runtime-lib/ppx_hash_lib.cmx
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/runtime-lib/ppx_hash_lib.cmxa
+${PLIST.ocaml-opt}${OCAML_SITELIB}/ppx_hash/runtime-lib/ppx_hash_lib.cmxs
+${OCAML_SITELIB}/ppx_hash/runtime-lib/ppx_hash_lib.ml
+share/doc/ppx_hash/LICENSE.txt
+share/doc/ppx_hash/README.md
diff --git a/devel/ocaml-ppx_hash/buildlink3.mk b/devel/ocaml-ppx_hash/buildlink3.mk
new file mode 100644
index 00000000000..36c45ce624b
--- /dev/null
+++ b/devel/ocaml-ppx_hash/buildlink3.mk
@@ -0,0 +1,13 @@
+# $NetBSD: buildlink3.mk,v 1.1 2017/10/11 14:22:39 jaapb Exp $
+
+BUILDLINK_TREE+= ocaml-ppx_hash
+
+.if !defined(OCAML_PPX_HASH_BUILDLINK3_MK)
+OCAML_PPX_HASH_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.ocaml-ppx_hash+= ocaml-ppx_hash>=0.9.0
+BUILDLINK_PKGSRCDIR.ocaml-ppx_hash?= ../../devel/ocaml-ppx_hash
+
+.endif # OCAML_PPX_HASH_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -ocaml-ppx_hash
diff --git a/devel/ocaml-ppx_hash/distinfo b/devel/ocaml-ppx_hash/distinfo
new file mode 100644
index 00000000000..f4e5cde05ef
--- /dev/null
+++ b/devel/ocaml-ppx_hash/distinfo
@@ -0,0 +1,6 @@
+$NetBSD: distinfo,v 1.1 2017/10/11 14:22:39 jaapb Exp $
+
+SHA1 (ppx_hash-0.9.0.tar.gz) = f402466b09c03c91b7f060673581064ca3637d0c
+RMD160 (ppx_hash-0.9.0.tar.gz) = 72d998175bab301ec79b8e391a66d3b0b9108975
+SHA512 (ppx_hash-0.9.0.tar.gz) = 401a87f5cc357ad50fc23f2450b84d6113cd79c1d2506f6e95476795fde0f3240ca252fc3bfe083f9ee1d0511ea3909481387ecf597edef6f90f9756a5a97096
+Size (ppx_hash-0.9.0.tar.gz) = 26942 bytes