packages feed

mysnapsession-example-0.2: mysnapsession-example.cabal

Name:                mysnapsession-example
Version:             0.2
Synopsis:            Example projects using mysnapsession
Description:         This is a collection of simple web applications that use
                     the mysnapsession package for stateful HTTP.
License:             BSD3
License-file:        LICENSE
Author:              Chris Smith <cdsmith@gmail.com>
Maintainer:          Chris Smith <cdsmith@gmail.com>
Stability:           Experimental
Category:            Web
Build-type:          Simple
Cabal-version:       >=1.6

Extra-source-files:  animalgame/resources/static/*.css,
                     animalgame/resources/templates/*.tpl

Extra-source-files:  clientcount/resources/static/*.css,
                     clientcount/resources/templates/*.tpl

Executable animalgame
  Hs-source-dirs:      animalgame/src
  Main-is:             Main.hs
  Other-modules:       Main, Application, Site

  Build-depends:
    base >= 4 && < 5,
    bytestring >= 0.9.1 && < 0.10,
    heist >= 0.4 && < 0.5,
    mtl >= 2 && < 3,
    snap >= 0.3 && < 0.4,
    snap-core >= 0.3 && < 0.4,
    snap-server >= 0.3 && <0.4,
    mysnapsession == 0.2.*,
    clientsession == 0.4.*

  Ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields
               -fno-warn-orphans

Executable clientcount
  Hs-source-dirs:      clientcount/src
  Main-is:             Main.hs
  Other-modules:       Main, Application, Site

  Build-depends:
    base >= 4 && < 5,
    bytestring >= 0.9.1 && < 0.10,
    heist >= 0.4 && < 0.5,
    mtl >= 2 && < 3,
    snap >= 0.3 && < 0.4,
    snap-core >= 0.3 && < 0.4,
    snap-server >= 0.3 && <0.4,
    time == 1.1.*,
    mysnapsession == 0.2.*

  Ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields
               -fno-warn-orphans