packages feed

yesod-auth-account-1.2.2: yesod-auth-account.cabal

name:              yesod-auth-account
version:           1.2.2
cabal-version:     >= 1.8
build-type:        Simple
synopsis:          An account authentication plugin for Yesod
category:          Web
author:            John Lenz <lenz@math.uic.edu>
maintainer:        John Lenz <lenz@math.uic.edu>
license:           MIT
license-file:      LICENSE
homepage:          https://bitbucket.org/wuzzeb/yesod-auth-account
stability:         Experimental
description:       An auth plugin for accounts. Each account consists of a username,
                   email, and password.  The plugin provides new account, email verification,
                   and password reset pages that can be customized to enhance the user experience.

-- Temp workaround for http://hackage.haskell.org/trac/hackage/ticket/792
extra-source-files: example.hs
                  , README.md
                  , tests/BasicTests.hs
                  , tests/Foundation.hs
                  , tests/NewAccount.hs


source-repository head
    type: mercurial
    location: https://bitbucket.org/wuzzeb/yesod-auth-account

library
    hs-source-dirs:  .
    exposed-modules: Yesod.Auth.Account
    ghc-options:   -Wall -O2

    build-depends: base              >= 4          && < 5
                 , base64-bytestring >= 1.0
                 , bytestring        >= 0.10
                 , blaze-html        >= 0.6
                 , mtl               >= 2.1
                 , text              >= 0.11
                 , persistent        >= 1.2        && < 1.3
                 , pwstore-fast      >= 2.0
                 , random            >= 1.0
                 , yesod-auth        >= 1.2        && < 1.3
                 , yesod-core        >= 1.2        && < 1.3
                 , yesod-form        >= 1.3        && < 1.4
                 , yesod-persistent  >= 1.2

test-suite test
    type:              exitcode-stdio-1.0
    main-is:           main.hs
    hs-source-dirs:    tests
    ghc-options:       -Wall

    build-depends: base
                 , bytestring
                 , hspec
                 , monad-logger >= 0.3
                 , mtl
                 , persistent-sqlite
                 , resourcet
                 , text
                 , xml-conduit
                 , yesod         >= 1.2 && < 1.3
                 , yesod-test    >= 1.2
                 , yesod-auth    >= 1.2 && < 1.3
                 , yesod-auth-account