File: wai-websockets.cabal

package info (click to toggle)
haskell-wai-websockets 3.0.0.1-1
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 80 kB
  • ctags: 5
  • sloc: haskell: 149; makefile: 3
file content (59 lines) | stat: -rw-r--r-- 2,033 bytes parent folder | download
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
57
58
59
Name:                wai-websockets
Version:             3.0.0.1
Synopsis:            Provide a bridge betweeen 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:         This is primarily intended for use with Warp and its settingsIntercept.

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

flag example

Library
  Build-Depends:     base               >= 3        && < 5
                   , bytestring         >= 0.9.1.4
                   , wai                >= 3.0      && < 3.1
                   , blaze-builder      >= 0.2.1.4  && < 0.4
                   , case-insensitive   >= 0.2
                   , network            >= 2.2.1.5
                   , transformers       >= 0.2
                   , websockets         >= 0.8
                   , io-streams         >= 1.1      && < 1.2
                   , 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
                   , blaze-builder
                   , transformers
                   , network
                   , text
                   , file-embed
                   , io-streams
                   , 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