summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorpho <pho@pkgsrc.org>2022-02-23 16:21:08 +0000
committerpho <pho@pkgsrc.org>2022-02-23 16:21:08 +0000
commit8fdc0ab838a00a2f128a5b9496e34b86c119e67e (patch)
tree7e67bf91a768fe52046c28e32823b9c08f202734 /www
parentc640f33744402ce285ecea769a6d927aa83ddfe7 (diff)
downloadpkgsrc-8fdc0ab838a00a2f128a5b9496e34b86c119e67e.tar.gz
www/hs-websockets: import hs-websockets-0.12.7.3
This library allows you to write WebSocket-capable servers. An example server: https://github.com/jaspervdj/websockets/blob/master/example/server.lhs An example client: https://github.com/jaspervdj/websockets/blob/master/example/client.hs See also: * The specification of the WebSocket protocol: http://www.whatwg.org/specs/web-socket-protocol/ * The JavaScript API for dealing with WebSockets: http://www.w3.org/TR/websockets/
Diffstat (limited to 'www')
-rw-r--r--www/hs-websockets/DESCR13
-rw-r--r--www/hs-websockets/Makefile22
-rw-r--r--www/hs-websockets/PLIST68
-rw-r--r--www/hs-websockets/buildlink3.mk25
-rw-r--r--www/hs-websockets/distinfo5
5 files changed, 133 insertions, 0 deletions
diff --git a/www/hs-websockets/DESCR b/www/hs-websockets/DESCR
new file mode 100644
index 00000000000..b3c6a64ae79
--- /dev/null
+++ b/www/hs-websockets/DESCR
@@ -0,0 +1,13 @@
+This library allows you to write WebSocket-capable servers.
+
+An example server:
+https://github.com/jaspervdj/websockets/blob/master/example/server.lhs
+
+An example client:
+https://github.com/jaspervdj/websockets/blob/master/example/client.hs
+
+See also:
+* The specification of the WebSocket protocol:
+ http://www.whatwg.org/specs/web-socket-protocol/
+* The JavaScript API for dealing with WebSockets:
+ http://www.w3.org/TR/websockets/
diff --git a/www/hs-websockets/Makefile b/www/hs-websockets/Makefile
new file mode 100644
index 00000000000..e9a7195c92a
--- /dev/null
+++ b/www/hs-websockets/Makefile
@@ -0,0 +1,22 @@
+# $NetBSD: Makefile,v 1.1 2022/02/23 16:21:08 pho Exp $
+
+DISTNAME= websockets-0.12.7.3
+CATEGORIES= www
+
+MAINTAINER= pkgsrc-users@NetBSD.org
+COMMENT= Sensible and clean way to write WebSocket-capable servers in Haskell
+LICENSE= modified-bsd
+
+.include "../../devel/hs-async/buildlink3.mk"
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../converters/hs-base64-bytestring/buildlink3.mk"
+.include "../../devel/hs-bytestring-builder/buildlink3.mk"
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../time/hs-clock/buildlink3.mk"
+.include "../../security/hs-entropy/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../devel/hs-random/buildlink3.mk"
+.include "../../security/hs-SHA/buildlink3.mk"
+.include "../../devel/hs-streaming-commons/buildlink3.mk"
+.include "../../mk/haskell.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/www/hs-websockets/PLIST b/www/hs-websockets/PLIST
new file mode 100644
index 00000000000..ff24e4287b1
--- /dev/null
+++ b/www/hs-websockets/PLIST
@@ -0,0 +1,68 @@
+@comment $NetBSD: PLIST,v 1.1 2022/02/23 16:21:08 pho Exp $
+lib/websockets-${PKGVERSION}/${HS_VERSION}/package-description
+lib/websockets-${PKGVERSION}/${HS_VERSION}/package-id
+lib/${HS_PLATFORM}/libHS${HS_PKGID}-${HS_VER}.so
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Client.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Client.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Client.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Connection.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Connection.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Connection.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Connection/Options.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Connection/Options.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Connection/Options.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/Description.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/Description.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/Description.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/PermessageDeflate.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/PermessageDeflate.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/PermessageDeflate.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/StrictUnicode.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/StrictUnicode.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Extensions/StrictUnicode.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Http.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Http.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Http.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13/Demultiplex.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13/Demultiplex.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13/Demultiplex.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13/Mask.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13/Mask.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Hybi13/Mask.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Protocol.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Protocol.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Protocol.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Server.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Server.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Server.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Stream.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Stream.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Stream.p_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Types.dyn_hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Types.hi
+lib/${HS_PLATFORM}/${HS_PKGID}/Network/WebSockets/Types.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}/websockets-${PKGVERSION}/LICENCE
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/Network-WebSockets-Client.html
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/Network-WebSockets-Connection.html
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/Network-WebSockets-Extensions.html
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/Network-WebSockets-Stream.html
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/Network-WebSockets.html
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/doc-index.html
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/haddock-bundle.min.js
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/index.html
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/linuwial.css
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/meta.json
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/quick-jump.css
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/synopsis.png
+share/doc/${HS_PLATFORM}/websockets-${PKGVERSION}/html/websockets.haddock
diff --git a/www/hs-websockets/buildlink3.mk b/www/hs-websockets/buildlink3.mk
new file mode 100644
index 00000000000..c0e84e6d4df
--- /dev/null
+++ b/www/hs-websockets/buildlink3.mk
@@ -0,0 +1,25 @@
+# $NetBSD: buildlink3.mk,v 1.1 2022/02/23 16:21:08 pho Exp $
+
+BUILDLINK_TREE+= hs-websockets
+
+.if !defined(HS_WEBSOCKETS_BUILDLINK3_MK)
+HS_WEBSOCKETS_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.hs-websockets+= hs-websockets>=0.12.7
+BUILDLINK_ABI_DEPENDS.hs-websockets+= hs-websockets>=0.12.7.3
+BUILDLINK_PKGSRCDIR.hs-websockets?= ../../www/hs-websockets
+
+.include "../../devel/hs-async/buildlink3.mk"
+.include "../../textproc/hs-attoparsec/buildlink3.mk"
+.include "../../converters/hs-base64-bytestring/buildlink3.mk"
+.include "../../devel/hs-bytestring-builder/buildlink3.mk"
+.include "../../textproc/hs-case-insensitive/buildlink3.mk"
+.include "../../time/hs-clock/buildlink3.mk"
+.include "../../security/hs-entropy/buildlink3.mk"
+.include "../../net/hs-network/buildlink3.mk"
+.include "../../devel/hs-random/buildlink3.mk"
+.include "../../security/hs-SHA/buildlink3.mk"
+.include "../../devel/hs-streaming-commons/buildlink3.mk"
+.endif # HS_WEBSOCKETS_BUILDLINK3_MK
+
+BUILDLINK_TREE+= -hs-websockets
diff --git a/www/hs-websockets/distinfo b/www/hs-websockets/distinfo
new file mode 100644
index 00000000000..af165c36d59
--- /dev/null
+++ b/www/hs-websockets/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2022/02/23 16:21:08 pho Exp $
+
+BLAKE2s (websockets-0.12.7.3.tar.gz) = 3cf265d0a06a5f79ba4c566c59b7274c499790a14d2c7893f9ad31d7d5f1d5f7
+SHA512 (websockets-0.12.7.3.tar.gz) = 9eb9147ff7b545c6e3e859055ff0ca51c16d7e2f0e8603279409b3e74db7ec858c33e586d8f40e3059ac8acf96d8c7502e1b5fe298d3d7fa4cad507e13a2b300
+Size (websockets-0.12.7.3.tar.gz) = 40077 bytes