|
| 1 | +opam-version: "2.0" |
| 2 | +synopsis: "Websocket library (Async)" |
| 3 | +description: """ |
| 4 | +The WebSocket Protocol enables two-way communication between a client |
| 5 | +running untrusted code in a controlled environment to a remote host |
| 6 | +that has opted-in to communications from that code. |
| 7 | + |
| 8 | +The security model used for this is the origin-based security model |
| 9 | +commonly used by web browsers. The protocol consists of an opening |
| 10 | +handshake followed by basic message framing, layered over TCP. |
| 11 | + |
| 12 | +The goal of this technology is to provide a mechanism for |
| 13 | +browser-based applications that need two-way communication with |
| 14 | +servers that does not rely on opening multiple HTTP connections (e.g., |
| 15 | +using XMLHttpRequest or <iframe>s and long polling). |
| 16 | +""" |
| 17 | +maintainer: ["Vincent Bernardoff < [email protected]>"] |
| 18 | +authors: ["Vincent Bernardoff < [email protected]>"] |
| 19 | +license: "ISC" |
| 20 | +tags: ["org:mirage" "org:xapi-project"] |
| 21 | +homepage: "https://github.com/vbmithr/ocaml-websocket" |
| 22 | +doc: "https://vbmithr.github.io/ocaml-websocket/doc" |
| 23 | +bug-reports: "https://github.com/vbmithr/ocaml-websocket/issues" |
| 24 | +depends: [ |
| 25 | + "dune" {>= "2.9"} |
| 26 | + "ocaml" {>= "4.06.0"} |
| 27 | + "websocket" {= version} |
| 28 | + "core" {>= "v0.15.0"} |
| 29 | + "core_unix" {>= "v0.15.0"} |
| 30 | + "async" {>= "v0.15.0"} |
| 31 | + "cohttp-async" {>= "5.0.0"} |
| 32 | + "logs-async" {>= "1.1"} |
| 33 | + "logs-async-reporter" {>= "1.0"} |
| 34 | + "odoc" {with-doc} |
| 35 | +] |
| 36 | +build: [ |
| 37 | + ["dune" "subst"] {dev} |
| 38 | + [ |
| 39 | + "dune" |
| 40 | + "build" |
| 41 | + "-p" |
| 42 | + name |
| 43 | + "-j" |
| 44 | + jobs |
| 45 | + "--promote-install-files=false" |
| 46 | + "@install" |
| 47 | + "@runtest" {with-test} |
| 48 | + "@doc" {with-doc} |
| 49 | + ] |
| 50 | + ["dune" "install" "-p" name "--create-install-files" name] |
| 51 | +] |
| 52 | +dev-repo: "git+https://github.com/vbmithr/ocaml-websocket.git" |
| 53 | +url { |
| 54 | + src: |
| 55 | + "https://github.com/vbmithr/ocaml-websocket/releases/download/2.16/websocket-2.16.tbz" |
| 56 | + checksum: [ |
| 57 | + "sha256=1221f4683ddad884dbd62bc3f0ee59e8cd1b0c770c356357c5e6100ac87dc5eb" |
| 58 | + "sha512=1561b022380e6bc21561d36cbce1e2e28cdd08fc47f5c91f7dd9f514cb1b3f4866534512f22e85086727a758695c22125735397b5955a70f476e1b9d8cbc75c4" |
| 59 | + ] |
| 60 | +} |
| 61 | +x-commit-hash: "a5d7cb0710e6df49cc0c328b2ed28be4d1a397b4" |
0 commit comments