/
opam
55 lines (55 loc) · 1.73 KB
/
opam
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
opam-version: "2.0"
maintainer: "Vincent Bernardoff <vb@luminar.eu.org>"
authors: "Vincent Bernardoff <vb@luminar.eu.org>"
homepage: "https://github.com/vbmithr/ocaml-websocket"
bug-reports: "https://github.com/vbmithr/ocaml-websocket/issues"
tags: ["org:mirage" "org:xapi-project"]
dev-repo: "git+https://github.com/vbmithr/ocaml-websocket"
build: [
"ocaml"
"pkg/build.ml"
"native=%{ocaml:native}%"
"native-dynlink=%{ocaml:native-dynlink}%"
"lwt=%{lwt:installed}%"
"async=%{async:installed}%"
"async_ssl=%{async_ssl:installed}%"
"nocrypto=%{nocrypto:installed}%"
"cryptokit=%{cryptokit:installed}%"
"test=false"
]
depends: [
"ocaml" {>= "4.02.0"}
"cppo" {build}
"cppo_ocamlbuild" {build}
"cohttp" {>= "0.17.1" & < "0.99"}
"ocplib-endian" {>= "0.8"}
"astring"
]
depopts: [
"async"
"async_ssl"
"lwt"
"nocrypto"
"cryptokit"
]
conflicts: [
"lwt" {< "2.4.8"}
"async" {< "112.35.00"}
"nocrypto" {< "0.5.0"}
]
synopsis: "Websocket library"
description: """
The WebSocket Protocol enables two-way communication between a client
running untrusted code in a controlled environment to a remote host
that has opted-in to communications from that code. The security
model used for this is the origin-based security model commonly used
by web browsers. The protocol consists of an opening handshake
followed by basic message framing, layered over TCP. The goal of this
technology is to provide a mechanism for browser-based applications
that need two-way communication with servers that does not rely on
opening multiple HTTP connections (e.g., using XMLHttpRequest or
<iframe>s and long polling)."""
url {
src: "https://github.com/vbmithr/ocaml-websocket/archive/2.8.tar.gz"
checksum: "md5=7309a63471d6fa814e4d10eefd19053e"
}