-
Notifications
You must be signed in to change notification settings - Fork 17
/
snap-extras.cabal
136 lines (124 loc) · 3.51 KB
/
snap-extras.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
Name: snap-extras
Version: 0.12.3.1
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: [email protected]
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