File: wai-websockets.cabal

package info (click to toggle)
haskell-wai-websockets 3.0.1.2-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 96 kB
  • sloc: haskell: 155; javascript: 64; makefile: 3
file content (56 lines) | stat: -rw-r--r-- 1,905 bytes parent folder | download | duplicates (4)
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
56
Name:                wai-websockets
Version:             3.0.1.2
Synopsis:            Provide a bridge between WAI and the websockets package.
License:             MIT
License-file:        LICENSE
Author:              Michael Snoyman, Jasper Van der Jeugt, Ting-Yen Lai
Maintainer:          michael@snoyman.com
Homepage:            http://github.com/yesodweb/wai
Category:            Web, Yesod
Build-Type:          Simple
Cabal-Version:       >=1.8
Stability:           Stable
description:         API docs and the README are available at <http://www.stackage.org/package/wai-websockets>.

extra-source-files: static/client.js, static/client.html, static/screen.css
                    README.md ChangeLog.md

flag example

Library
  Build-Depends:     base               >= 3        && < 5
                   , bytestring         >= 0.9.1.4
                   , wai                >= 3.0      && < 3.3
                   , case-insensitive   >= 0.2
                   , network            >= 2.2.1.5
                   , transformers       >= 0.2
                   , websockets         >= 0.9
                   , http-types
  Exposed-modules:   Network.Wai.Handler.WebSockets
  ghc-options:       -Wall

Executable           wai-websockets-example
  if flag(example)
    buildable: True
    Build-Depends:   base               >= 3 && < 5
                   , wai-websockets
                   , websockets
                   , warp
                   , wai
                   , wai-app-static
                   , bytestring
                   , case-insensitive
                   , transformers
                   , network
                   , text
                   , file-embed
                   , http-types
  else
    buildable: False

  ghc-options:       -Wall -threaded
  main-is:           server.lhs

source-repository head
  type:     git
  location: git://github.com/yesodweb/wai.git