packages feed

wai-middleware-hmac-0.1.0.0: wai-middleware-hmac.cabal

name:                wai-middleware-hmac
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:            HMAC Authentication Middleware for WAI
homepage:            https://github.com/creichert/wai-middleware-hmac
description:
  Wai HMAC Authentication Middleware implementation.
  .
  This middleware closely models the Amazon AWS Authentication scheme.
  By default, this middleware will also default to using the HTTP
  Authorization header.
  .
  See @wai-middleware-hmac-client@ for ready-to-use client module.



source-repository head
  type:     git
  location: git://github.com/creichert/wai-middleware-hmac.git



library
  exposed-modules:     Network.Wai.Middleware.HmacAuth
  ghc-options:         -Wall
  default-language:    Haskell2010
  build-depends:       base              == 4.*
                     , base64-bytestring >= 1.0
                     , byteable
                     , bytestring
                     , case-insensitive
                     , cryptohash
                     , http-types        >= 0.8
                     , transformers
                     , wai               >= 3.0
                     , word8             >= 0.1



test-suite spec
  type:                exitcode-stdio-1.0
  main-is:             Spec.hs
  hs-source-dirs:      test/
  other-modules:       WaiMiddlewareHmacAuthSpec
  ghc-options:         -Wall -Werror -threaded
  default-language:    Haskell2010
  build-depends:       base                 == 4.*
                     , bytestring
                     , wai-middleware-hmac
                     , wai
                     , wai-extra
                     , hspec                >= 1.3
                     , http-types
                     , HUnit



test-suite doctest
  default-language:    Haskell2010
  ghc-options:         -Wall -Werror -threaded
  main-is:             test/DocTest.hs
  type:                exitcode-stdio-1.0
  build-depends:       base
                     , doctest == 0.9.*
                     , Glob    == 0.7.*



test-suite haddock
  main-is:             test/Haddock.hs
  ghc-options:         -Wall -Werror -threaded
  type:                exitcode-stdio-1.0
  default-language:    Haskell2010
  build-depends:       base
                     , process
                     , regex-compat



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.*