packages feed

socketio-0.1.1: socketio.cabal

-- Initial SocketIO.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:               socketio
version:            0.1.1
synopsis:           Socket.IO server
description: 
    Socket.IO for Haskell folks.
    .
    [Socket.IO] <http://socket.io/>
    .
    [Protocol] <https://github.com/LearnBoost/socket.io-spec>
    .
    @
        &#123;-&#35; LANGUAGE OverloadedStrings &#35;-&#125;
        .
        import Web.SocketIO
        .
        \-\- listens to port 4000
        main = server 4000 $ do
        .
        &#32;&#32;&#32;&#32;\-\- ping pong
        &#32;&#32;&#32;&#32;on &#34;ping&#34; $ emit &#34;pong&#34; []
        .
        &#32;&#32;&#32;&#32;\-\- reply :: CallbackM [Text]
        &#32;&#32;&#32;&#32;on &#34;echo&#34; $ reply >>= emit &#34;pong&#34;
        .
        &#32;&#32;&#32;&#32;\-\- do some IO
        &#32;&#32;&#32;&#32;on &#34;Kim Jong-Un&#34; $ liftIO launchMissile
    @        
       
license:            MIT
license-file:       LICENSE
author:             Ting-Yen Lai
maintainer:         banacorn@gmail.com
-- copyright:           
stability:          experimental
category:           Web
build-type:         Simple
cabal-version:      >=1.8


source-repository head
    type:     git
    location: https://github.com/banacorn/socket.io-haskell

library
    ghc-options:    -Wall -fno-warn-unused-do-bind
    exposed-modules:
        Web.SocketIO
    Other-modules:
        Web.SocketIO.Types
        Web.SocketIO.Types.Base
        Web.SocketIO.Types.Event
        Web.SocketIO.Types.Layer
        Web.SocketIO.Types.Log
        Web.SocketIO.Types.Request
        Web.SocketIO.Types.String
        Web.SocketIO.Connection
        Web.SocketIO.Channel
        Web.SocketIO.Event
        Web.SocketIO.Protocol
        Web.SocketIO.Request
        Web.SocketIO.Server
        Web.SocketIO.Session
        Web.SocketIO.Timeout
        Web.SocketIO.Util

    build-depends:    base                  ==4.6.*
                    , text                  ==1.1.*
                    , bytestring            ==0.10.*
                    , aeson                 ==0.7.*
                    , parsec                ==3.1.*
                    , ansi-terminal         ==0.6.*
                    , unordered-containers  ==0.2.*
                    , random                ==1.0.*
                    , wai                   ==2.0.*
                    , warp                  ==2.0.*
                    , http-types            ==0.8.*
                    , mtl                   ==2.1.*
                    , transformers-base     ==0.4.*
                    , monad-control         ==0.3.*
                    , lifted-base           ==0.2.*


test-suite socketio-test
    type:           exitcode-stdio-1.0
    hs-source-dirs: test .
    main-is:        main.hs
    ghc-options:    -Wall -fno-warn-unused-do-bind

    build-depends:    base                          ==4.6.*
                    , QuickCheck                    ==2.6.*
                    , HUnit                         ==1.2.*
                    , test-framework                ==0.8.*
                    , test-framework-quickcheck2    ==0.3.*
                    , test-framework-hunit          ==0.3.*
    
    build-depends:    base                  ==4.6.*
                    , text                  ==1.1.*
                    , bytestring            ==0.10.*
                    , aeson                 ==0.7.*
                    , parsec                ==3.1.*
                    , ansi-terminal         ==0.6.*
                    , unordered-containers  ==0.2.*
                    , random                ==1.0.*
                    , wai                   ==2.0.*
                    , warp                  ==2.0.*
                    , http-types            ==0.8.*
                    , mtl                   ==2.1.*
                    , transformers-base     ==0.4.*
                    , monad-control         ==0.3.*
                    , lifted-base           ==0.2.*