packages feed

yesod-auth-simple-1.1.0: yesod-auth-simple.cabal

Cabal-Version:          2.2
Name:                   yesod-auth-simple
Version:                1.1.0
Author:                 Jezen Thomas <jezen@jezenthomas.com>
Maintainer:             Jezen Thomas <jezen@jezenthomas.com>
License:                BSD-3-Clause
License-File:           LICENSE
Build-Type:             Simple
Extra-Source-Files:
    README.md
  , ChangeLog.md
  , templates/*.hamlet
  , templates/*.julius
  , templates/*.lucius
Category:               Web, Yesod
Synopsis:               Traditional email/pass auth for Yesod.
Description:
  This is an authentication plugin for the Yesod web framework. It provides the
  user with a traditional email and password interface to authenticate themselves
  with your web application.
  .
  This is originally adapted from prasmussen/glot-www

Library
  Default-Language:     Haskell2010
  HS-Source-Dirs:       src
  GHC-Options:          -Wall
  Default-Extensions:   NoImplicitPrelude
  Other-Extensions: TemplateHaskell
  Exposed-Modules:
    Yesod.Auth.Simple
    Yesod.Auth.Simple.Instance.Persist.EmailText
    Yesod.Auth.Simple.Instance.Persist.EmailTextCI
    Yesod.Auth.Simple.Instance.Persist.PasswordText
  Build-Depends:
      base >= 4 && < 5
    , aeson
    , base16-bytestring
    , base64-bytestring
    , bytestring
    , classy-prelude        >= 0.10.2
    , classy-prelude-yesod  >= 1.1
    , cryptonite
    , email-validate
    , http-types
    , memory
    , scrypt
    , text
    , time
    , wai
    , blaze-html
    , vector
    , zxcvbn-hs
    , yesod-auth >= 1.6
    , yesod-core >= 1.6
    , yesod-form >= 1.6
    , persistent >= 2.8.2
    , shakespeare

  Other-Modules:
    Yesod.Auth.Simple.Types

Common test-properties
  Default-Language:     Haskell2010
  Hs-Source-Dirs:       src, test
  Ghc-Options:          -Wall
  Default-Extensions:   NoImplicitPrelude
  Build-Tool-Depends:   hspec-discover:hspec-discover -any
  Build-Depends:
      base >= 4 && < 5
    , hspec
    , aeson
    , base64-bytestring
    , blaze-html
    , bytestring
    , classy-prelude        >= 0.10.2
    , classy-prelude-yesod  >= 1.1
    , cryptonite
    , directory
    , email-validate
    , fast-logger
    , http-types
    , memory
    , monad-logger
    , persistent >= 2.8.2
    , persistent-sqlite
    , scrypt
    , text
    , time
    , vector
    , wai
    , yesod
    , yesod-test
    , yesod-auth >= 1.6
    , yesod-form >=1.6
    , yesod-core >=1.6.15
    , zxcvbn-hs
    , shakespeare

  Other-Modules:
    ExampleApp
    TestImport
    Yesod.Auth.Simple
    Yesod.Auth.Simple.Instance.Persist.EmailText
    Yesod.Auth.Simple.Instance.Persist.EmailTextCI
    Yesod.Auth.Simple.Instance.Persist.PasswordText
    Yesod.Auth.Simple.Types
    Yesod.Auth.SimpleSpec
    Yesod.Auth.Simple.TypesSpec

Test-Suite spec
  Import:               test-properties
  Type:                 exitcode-stdio-1.0
  Main-Is:              Spec.hs

Executable yesod-auth-simple-test
  Import:               test-properties
  Other-Extensions: TemplateHaskell
  Main-Is:              Spec.hs

Source-Repository head
  Type:                 git
  Location:             https://github.com/riskbook/yesod-auth-simple