forked from lpeterse/snaplet-recaptcha
-
Notifications
You must be signed in to change notification settings - Fork 0
/
snaplet-recaptcha.cabal
88 lines (71 loc) · 2.75 KB
/
snaplet-recaptcha.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
-- snaplet-recaptcha.cabal auto-generated by cabal init. For
-- additional options, see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name: snaplet-recaptcha
-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version: 0.1
-- A short (one-line) description of the package.
Synopsis: A ReCAPTCHA verification snaplet with connection sharing.
-- A longer description of the package.
Description: This snaplet handles the interfacing with Google's ReCaptcha verification API.
It uses `http-conduit` which manages a connection pool. On the one hand
this avoid the overhead of reconnecting for every single captcha request and
on the other hand limits the use of the server's resources.
-- The license under which the package is released.
License: BSD3
-- The file containing the license text.
License-file: LICENSE
-- The package author(s).
Author: Lars Petersen
-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer: [email protected]
-- A copyright notice.
-- Copyright:
Category: Web
Build-type: Simple
-- Extra files to be distributed with the package, such as examples or
-- a README.
-- Extra-source-files:
-- Constraint on the version of Cabal needed to build this package.
Cabal-version: >=1.10
Library
Hs-Source-Dirs: src
Exposed-Modules: Snap.Snaplet.ReCaptcha
Default-Language: Haskell2010
Build-Depends: base >= 4 && < 5
, lens
, bytestring
, failure
, conduit
, http-conduit
, http-types
, resourcet
, snap-core
, snap
Executable recaptcha-test
Main-Is: recaptcha-test.hs
Hs-Source-Dirs: src
Other-Modules: Snap.Snaplet.ReCaptcha
Default-Language: Haskell2010
Build-Depends: base >= 4 && < 5
, lens
, bytestring
, text
, failure
, snap-core
, snap-server
, snap
, blaze-html
, failure
, conduit
, http-conduit
, http-types
, resourcet
, blaze-markup
Source-Repository head
type: git
location: http://github.com/lpeterse/snaplet-recaptcha.git