packages feed

snaplet-recaptcha-0.1: snaplet-recaptcha.cabal

-- 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:          info@lars-petersen.net

-- 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
                  , data-lens
                  , data-lens-template
                  , bytestring
                  , failure
                  , conduit
                  , http-conduit
                  , http-types
                  , 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
                  , data-lens
                  , data-lens-template
                  , bytestring
                  , text
                  , failure
                  , snap-core
                  , snap-server
                  , snap
                  , blaze-html
                  , failure
                  , conduit
                  , http-conduit
                  , http-types

Source-Repository   head
  type:             git
  location:         http://github.com/lpeterse/snaplet-recaptcha.git