packages feed

wai-session-0.1: wai-session.cabal

name:            wai-session
version:         0.1
cabal-version:   >= 1.8
license:         OtherLicense
license-file:    COPYING
category:        Web
copyright:       © 2012 Stephen Paul Weber
author:          Stephen Paul Weber <singpolyma@singpolyma.net>
maintainer:      Stephen Paul Weber <singpolyma@singpolyma.net>
stability:       experimental
tested-with:     GHC == 7.0.3
synopsis:        Flexible session middleware for WAI
homepage:        https://github.com/singpolyma/wai-session
bug-reports:     https://github.com/singpolyma/wai-session/issues
build-type:      Simple
description:
        Provides a generic, cookie-based middleware for sessions that is
        parameterised over the session store, the cookie name, and the
        cookie parameters (such as path, expiry, etc).  Passes a pair of
        functions (lookup key, set key) for the current session through the
        'Vault' in the 'Request'.
        .
        Also provides a simple example session store based on threadsafe
        'IORef's and 'Data.Map'.
        .
        See example/Main.hs in git for example usage.

extra-source-files:
        README

library
        exposed-modules:
                Network.Wai.Session,
                Network.Wai.Session.Map

        build-depends:
                base == 4.*,
                containers,
                bytestring,
                transformers,
                time,
                StateVar,
                vault,
                cookie,
                wai >= 1.1.0,
                http-types,
                blaze-builder

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