summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2022-02-23 16:21:40 +0000
committerpho <pho@pkgsrc.org>2022-02-23 16:21:40 +0000
commit64ba93c1828bb9b7ae0f6f3b9b64e4939b7337bd (patch)
tree3dfa87511f95af0af9783bb9a06d5ebb0d80deef
parent0c1243961eee61db48040acb640f4bb0eb8723a0 (diff)
downloadpkgsrc-64ba93c1828bb9b7ae0f6f3b9b64e4939b7337bd.tar.gz
www/hs-wai-websockets: import hs-wai-websockets-3.0.1.2
Use websockets with WAI applications, primarily those hosted via Warp.
-rw-r--r--www/hs-wai-websockets/DESCR1
-rw-r--r--www/hs-wai-websockets/Makefile16
-rw-r--r--www/hs-wai-websockets/PLIST19
-rw-r--r--www/hs-wai-websockets/buildlink3.mk19
-rw-r--r--www/hs-wai-websockets/distinfo5
5 files changed, 60 insertions, 0 deletions
diff --git a/www/hs-wai-websockets/DESCR b/www/hs-wai-websockets/DESCR
new file mode 100644
index 00000000000..f0d231f64b8
--- /dev/null
+++ b/www/hs-wai-websockets/DESCR
@@ -0,0 +1 @@
+Use websockets with WAI applications, primarily those hosted via Warp.
diff --git a/www/hs-wai-websockets/Makefile b/www/hs-wai-websockets/Makefile
new file mode 100644
index 00000000000..c27d0f16896
--- /dev/null
+++ b/www/hs-wai-websockets/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1 2022/02/23 16:21:40 pho Exp $
+
+DISTNAME= wai-websockets-3.0.1.2
+CATEGORIES= www
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Provide a bridge between WAI and the websockets package
+LICENSE= mit
+
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../www/hs-http-types/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../www/hs-wai/buildlink3.mk"
+.include "../../www/hs-websockets/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/hs-wai-websockets/PLIST b/www/hs-wai-websockets/PLIST
new file mode 100644
index 00000000000..d66924506ea
--- /dev/null
+++ b/www/hs-wai-websockets/PLIST
@@ -0,0 +1,19 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/23 16:21:40 pho Exp $
+lib/wai-websockets-${PKGVERSION}/${HS_VERSION}/package-description
+lib/wai-websockets-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/Wai/Handler/WebSockets.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/Wai/Handler/WebSockets.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/Wai/Handler/WebSockets.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}.a
+lib/${HS_PLATFORM}/${HS_PKGID}/libHS${HS_PKGID}_p.a
+share/doc/${HS_PLATFORM}/wai-websockets-${PKGVERSION}/LICENSE
+share/doc/${HS_PLATFORM}/wai-websockets-${PKGVERSION}/html/Network-Wai-Handler-WebSockets.html
+share/doc/${HS_PLATFORM}/wai-websockets-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/wai-websockets-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/wai-websockets-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/wai-websockets-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/wai-websockets-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/wai-websockets-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/wai-websockets-${PKGVERSION}/html/synopsis.png
+share/doc/${HS_PLATFORM}/wai-websockets-${PKGVERSION}/html/wai-websockets.haddock
diff --git a/www/hs-wai-websockets/buildlink3.mk b/www/hs-wai-websockets/buildlink3.mk
new file mode 100644
index 00000000000..db69e11e69e
--- /dev/null
+++ b/www/hs-wai-websockets/buildlink3.mk
@@ -0,0 +1,19 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/23 16:21:40 pho Exp $
+
+BUILDLINK_TREE+= hs-wai-websockets
+
+.if !defined(HS_WAI_WEBSOCKETS_BUILDLINK3_MK)
+HS_WAI_WEBSOCKETS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-wai-websockets+= hs-wai-websockets>=3.0.1
+BUILDLINK_ABI_DEPENDS.hs-wai-websockets+= hs-wai-websockets>=3.0.1.2
+BUILDLINK_PKGSRCDIR.hs-wai-websockets?= ../../www/hs-wai-websockets
+
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../www/hs-http-types/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../www/hs-wai/buildlink3.mk"
+.include "../../www/hs-websockets/buildlink3.mk"
+.endif # HS_WAI_WEBSOCKETS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-wai-websockets
diff --git a/www/hs-wai-websockets/distinfo b/www/hs-wai-websockets/distinfo
new file mode 100644
index 00000000000..f4ff0e5d3b2
--- /dev/null
+++ b/www/hs-wai-websockets/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/23 16:21:40 pho Exp $
+
+BLAKE2s (wai-websockets-3.0.1.2.tar.gz) = 608a28c13c00897cff21b3afa862927e50b73ce3bbe2898f58bfa08b6f176b8e
+SHA512 (wai-websockets-3.0.1.2.tar.gz) = c3415d1a36ca2f063fb1ae0ff7d3d9d271d8ff2c6099a754baed45f1c36f24cf1fa346e8e6403499cbeb329bcdf89326a9ed95f8e60111b4a879f5e51967ecc0
+Size (wai-websockets-3.0.1.2.tar.gz) = 7051 bytes