summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorszptvlfn <szptvlfn@pkgsrc.org>2014-09-11 21:57:46 +0000
committerszptvlfn <szptvlfn@pkgsrc.org>2014-09-11 21:57:46 +0000
commit72505026ca3b8e01224246020065a8a1bf6e492a (patch)
tree36bad3a292b7e6d84fbe006463df6a0241fa889e /devel
parent0fd1e0bed596df654c51642e48564ccde5aec76c (diff)
downloadpkgsrc-72505026ca3b8e01224246020065a8a1bf6e492a.tar.gz
Import hint-0.4.2.0 as devel/hs-hint,
packaged for wip by pho. This library defines an Interpreter monad. It allows to load Haskell modules, browse them, type-check and evaluate strings with Haskell expressions and even coerce them into values. The library is thread-safe and type-safe (even the coercion of expressions to values). It is, esentially, a huge subset of the GHC API wrapped in a simpler API.
Diffstat (limited to 'devel')
-rw-r--r--devel/hs-hint/DESCR5
-rw-r--r--devel/hs-hint/Makefile18
-rw-r--r--devel/hs-hint/PLIST48
-rw-r--r--devel/hs-hint/buildlink3.mk21
-rw-r--r--devel/hs-hint/distinfo5
5 files changed, 97 insertions, 0 deletions
diff --git a/devel/hs-hint/DESCR b/devel/hs-hint/DESCR
new file mode 100644
index 00000000000..c064b32dbca
--- /dev/null
+++ b/devel/hs-hint/DESCR
@@ -0,0 +1,5 @@
+This library defines an Interpreter monad. It allows to load Haskell
+modules, browse them, type-check and evaluate strings with Haskell
+expressions and even coerce them into values. The library is thread-safe
+and type-safe (even the coercion of expressions to values). It is,
+esentially, a huge subset of the GHC API wrapped in a simpler API.
diff --git a/devel/hs-hint/Makefile b/devel/hs-hint/Makefile
new file mode 100644
index 00000000000..90ac2c06aac
--- /dev/null
+++ b/devel/hs-hint/Makefile
@@ -0,0 +1,18 @@
+# $NetBSD: Makefile,v 1.1 2014/09/11 21:57:46 szptvlfn Exp $
+
+DISTNAME= hint-0.4.2.0
+CATEGORIES= devel
+
+MAINTAINER= pho@cielonegro.org
+COMMENT= Runtime Haskell interpreter (GHC API wrapper)
+LICENSE= modified-bsd
+
+.include "../../mk/haskell.mk"
+.include "../../devel/hs-exceptions/buildlink3.mk"
+.include "../../devel/hs-extensible-exceptions/buildlink3.mk"
+.include "../../devel/hs-ghc-mtl/buildlink3.mk"
+.include "../../devel/hs-ghc-paths/buildlink3.mk"
+.include "../../devel/hs-mtl/buildlink3.mk"
+.include "../../devel/hs-random/buildlink3.mk"
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/hs-hint/PLIST b/devel/hs-hint/PLIST
new file mode 100644
index 00000000000..7345ccb0bf8
--- /dev/null
+++ b/devel/hs-hint/PLIST
@@ -0,0 +1,48 @@
+@comment $NetBSD: PLIST,v 1.1 2014/09/11 21:57:46 szptvlfn Exp $
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/HShint-${PKGVERSION}.o
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Annotations.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Base.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Compat.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/CompatPlatform.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Configuration.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Context.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Conversions.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Eval.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Extension.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/GHC.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/InterpreterT.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Parsers.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Reflection.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Sandbox.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/SignalHandlers.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Typecheck.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Hint/Util.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter/Extension.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter/GHC.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter/GHC/Unsafe.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/Language/Haskell/Interpreter/Unsafe.hi
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/libHShint-${PKGVERSION}.a
+lib/hint-${PKGVERSION}/${HASKELL_VERSION}/package-description
+share/doc/hint-${PKGVERSION}/LICENSE
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/Language-Haskell-Interpreter-Extension.html
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/Language-Haskell-Interpreter-GHC-Unsafe.html
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/Language-Haskell-Interpreter-GHC.html
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/Language-Haskell-Interpreter-Unsafe.html
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/Language-Haskell-Interpreter.html
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/doc-index.html
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/frames.html
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/haddock-util.js
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/hint.haddock
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/hslogo-16.png
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/index-frames.html
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/index.html
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/mini_Language-Haskell-Interpreter-Extension.html
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/mini_Language-Haskell-Interpreter-GHC-Unsafe.html
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/mini_Language-Haskell-Interpreter-GHC.html
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/mini_Language-Haskell-Interpreter-Unsafe.html
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/mini_Language-Haskell-Interpreter.html
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/minus.gif
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/ocean.css
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/plus.gif
+${PLIST.doc}share/doc/hint-${PKGVERSION}/html/synopsis.png
diff --git a/devel/hs-hint/buildlink3.mk b/devel/hs-hint/buildlink3.mk
new file mode 100644
index 00000000000..122a6ec8c5b
--- /dev/null
+++ b/devel/hs-hint/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1 2014/09/11 21:57:46 szptvlfn Exp $
+
+BUILDLINK_TREE+= hs-hint
+
+.if !defined(HS_HINT_BUILDLINK3_MK)
+HS_HINT_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-hint+= hs-hint>=0.4.2
+BUILDLINK_ABI_DEPENDS.hs-hint+= hs-hint>=0.4.2.0
+BUILDLINK_PKGSRCDIR.hs-hint?= ../../devel/hs-hint
+
+.include "../../devel/hs-exceptions/buildlink3.mk"
+.include "../../devel/hs-extensible-exceptions/buildlink3.mk"
+.include "../../devel/hs-ghc-mtl/buildlink3.mk"
+.include "../../devel/hs-ghc-paths/buildlink3.mk"
+.include "../../devel/hs-mtl/buildlink3.mk"
+.include "../../devel/hs-random/buildlink3.mk"
+.include "../../devel/hs-utf8-string/buildlink3.mk"
+.endif # HS_HINT_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-hint
diff --git a/devel/hs-hint/distinfo b/devel/hs-hint/distinfo
new file mode 100644
index 00000000000..12e2ebdc658
--- /dev/null
+++ b/devel/hs-hint/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2014/09/11 21:57:46 szptvlfn Exp $
+
+SHA1 (hint-0.4.2.0.tar.gz) = 9be1428f9610df007504a68a66c6197592389804
+RMD160 (hint-0.4.2.0.tar.gz) = c97a6962ed90370743827ddef8e691ab2b58e65d
+Size (hint-0.4.2.0.tar.gz) = 29449 bytes