packages feed

yesod-auth-basic-0.1.0.0: yesod-auth-basic.cabal

name:                yesod-auth-basic
version:             0.1.0.0
license:             BSD3
license-file:        LICENSE
author:              Christopher Reichert
maintainer:          creichert07@gmail.com
copyright:           (c) 2015, Christopher Reichert
category:            Web
build-type:          Simple
cabal-version:       >=1.10
synopsis:            Yesod Middleware for HTTP Basic Authentication
description:
 An efficient Yesod middleware middleware for HTTP Basic
 Authentication.
 .
 Utilizes Yesod request-local caching mechanisms to store valid auth
 credentials found in the Authorization header.


source-repository head
  type:     git
  location: git://github.com/creichert/yesod-auth-basic.git


library
  exposed-modules:     Yesod.Auth.Http.Basic
  ghc-options:         -Wall
  default-language:    Haskell2010
  build-depends:       base              == 4.*
                     , base64-bytestring
                     , bytestring
                     , exceptions
                     , text
                     , yesod
                     , wai
                     , word8


test-suite spec
  type:                exitcode-stdio-1.0
  main-is:             Spec.hs
  hs-source-dirs:      test/
  other-modules:       YesodAuthHttpBasicSpec
  ghc-options:         -Wall -Werror -threaded
  default-language:    Haskell2010
  build-depends:       base                 == 4.*
                     , yesod
                     , yesod-auth-basic
                     , yesod-test
                     , hspec                >= 1.3
                     , text


test-suite hlint
    main-is:          test/HLint.hs
    ghc-options:      -Wall -Werror -threaded
    type:             exitcode-stdio-1.0
    default-language: Haskell2010
    build-depends:    base
                    , hlint == 1.8.*