snap-extras-0.12.3.2: snap-extras.cabal
Name: snap-extras
Version: 0.12.3.2
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
Extra-source-files:
README.md
changelog.md
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
, base >= 4 && < 5
, blaze-builder >= 0.3
, blaze-html >= 0.6
, bytestring >= 0.9.1
, case-insensitive >= 1.0
, configurator >= 0.2
, containers >= 0.3
, data-default >= 0.5
, digestive-functors >= 0.3
, digestive-functors-heist >= 0.8
, digestive-functors-snap >= 0.3
, directory-tree >= 0.10
, filepath >= 1.1
, heist >= 0.14
, jmacro >= 0.6
, lens < 6
, mtl >= 2.0
, pcre-light >= 0.4
, readable >= 0.1
, safe >= 0.3
, snap >= 0.9
, snap-core >= 0.9
, text >= 0.11
, time >= 1.4
, transformers >= 0.2
, wl-pprint-text >= 1.1
, xmlhtml >= 0.1.6
, map-syntax
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
, map-syntax
Default-Language: Haskell2010
Test-Suite test
Type: exitcode-stdio-1.0
Main-Is: Main.hs
Ghc-Options: -threaded -rtsopts -O0
Default-Language: Haskell2010
Other-Modules:
Snap.Extras.Tests.Arbitrary
Snap.Extras.Tests.MethodOverride
Hs-Source-Dirs:
test/src
Build-Depends:
base
, bytestring
, containers
, snap-core
, snap-extras
, tasty
, tasty-hunit
, tasty-quickcheck
, QuickCheck
source-repository head
type: git
location: https://github.com/ozataman/snap-extras.git