snap-extras-0.11: snap-extras.cabal
Name: snap-extras
Version: 0.11
Synopsis: A collection of useful helpers and utilities for Snap web applications.
Description: This package contains a collection of helper functions
that come in handy in most practical, real-world
applications. Check individual modules to understand
what's here. You can simply import Snap.Extras and use
the initializer in there to get them all at once.
License: BSD3
License-file: LICENSE
Author: Ozgun Ataman, Doug Beardsley
Maintainer: oz@soostone.com
Category: Web, Snap
Build-type: Simple
Cabal-version: >= 1.10
data-files:
resources/templates/*.tpl
poll-example/PollExample.hs
poll-example/snaplets/heist/*.tpl
Flag Examples
Description: Build the examples.
Default: False
Library
Exposed-modules:
Snap.Extras
Snap.Extras.Ajax
Snap.Extras.CSRF
Snap.Extras.CoreUtils
Snap.Extras.FlashNotice
Snap.Extras.FormUtils
Snap.Extras.JSON
Snap.Extras.MethodOverride
Snap.Extras.NavTrails
Snap.Extras.PollStatus
Snap.Extras.SpliceUtils.Compiled
Snap.Extras.SpliceUtils.Interpreted
Snap.Extras.Tabs
Snap.Extras.TextUtils
other-modules:
Snap.Extras.SpliceUtils.Common
Paths_snap_extras
hs-source-dirs: src
Build-depends:
aeson >= 0.6 && < 0.9
, base >= 4 && < 5
, blaze-builder >= 0.3 && < 0.5
, blaze-html >= 0.6 && < 0.9
, bytestring >= 0.9.1 && < 0.11
, case-insensitive >= 1.0 && < 1.3
, configurator >= 0.2 && < 0.4
, containers >= 0.3 && < 0.6
, data-default >= 0.5 && < 0.6
, digestive-functors >= 0.3 && < 0.8
, digestive-functors-heist >= 0.8 && < 0.9
, digestive-functors-snap >= 0.3 && < 0.7
, directory-tree >= 0.10 && < 0.13
, errors >= 1.4 && < 1.5
, filepath >= 1.1 && < 1.5
, heist >= 0.14 && < 0.15
, jmacro >= 0.6 && < 0.7
, lens < 5
, mtl >= 2.0 && < 2.3
, pcre-light >= 0.4 && < 0.5
, readable >= 0.1 && < 0.4
, safe >= 0.3 && < 0.4
, snap >= 0.13 && < 0.15
, snap-core >= 0.7 && < 0.10
, text >= 0.11 && < 1.3
, time >= 1.4 && < 1.6
, transformers >= 0.2 && < 0.5
, wl-pprint-text >= 1.1 && < 1.2
, xmlhtml >= 0.1.6 && < 0.3
ghc-options: -Wall -fwarn-tabs
default-language: Haskell2010
Executable PollExample
Main-is: PollExample.hs
Hs-source-dirs: poll-example
if !flag(Examples)
Buildable: False
else
Buildable: True
Build-depends:
aeson
, base == 4.*
, containers
, heist
, lens
, mtl
, readable
, snap
, snap-core
, snap-extras
, snap-server
, text
, time
, transformers
Default-Language: Haskell2010
Test-Suite test
Type: exitcode-stdio-1.0
Main-Is: Main.hs
Ghc-Options: -threaded -rtsopts -O0
Default-Language: Haskell2010
Hs-Source-Dirs:
test/src
Build-Depends:
base
, bytestring
, containers
, snap-core
, snap-extras
, tasty
, tasty-hunit
, tasty-quickcheck
, QuickCheck