packages feed

wai-middleware-bearer-1.0.3: wai-middleware-bearer.cabal

cabal-version: 1.12

-- This file has been generated from package.yaml by hpack version 0.34.4.
--
-- see: https://github.com/sol/hpack

name:           wai-middleware-bearer
version:        1.0.3
synopsis:       WAI Middleware for Bearer Token Authentication
description:    Please see the README on GitHub at <https://github.com/martin-bednar/wai-middleware-bearer#readme>
category:       Authentication, Web
homepage:       https://github.com/martin-bednar/wai-middleware-bearer#readme
bug-reports:    https://github.com/martin-bednar/wai-middleware-bearer/issues
author:         Martin Bednar
maintainer:     bednam17@fit.cvut.cz
copyright:      2022 Martin Bednar
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    README.md

source-repository head
  type: git
  location: https://github.com/martin-bednar/wai-middleware-bearer

library
  exposed-modules:
      Network.Wai.Middleware.BearerTokenAuth
  other-modules:
      Paths_wai_middleware_bearer
  hs-source-dirs:
      src
  build-depends:
      base >=4.7 && <5
    , bytestring >=0.10.12.1 && <1
    , http-types >=0.12.3 && <1
    , wai >=3.2.3 && <4
    , word8 >=0.1.3 && <1
  default-language: Haskell2010

test-suite wai-middleware-bearer-test
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Paths_wai_middleware_bearer
  hs-source-dirs:
      test
  ghc-options: -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.7 && <5
    , bytestring >=0.10.12.1 && <1
    , hspec
    , hspec-wai
    , http-types >=0.12.3 && <1
    , wai >=3.2.3 && <4
    , wai-middleware-bearer
    , word8 >=0.1.3 && <1
  default-language: Haskell2010