packages feed

context-wai-middleware-0.2.0.2: context-wai-middleware.cabal

cabal-version: 1.12

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

name:           context-wai-middleware
version:        0.2.0.2
synopsis:       Add request-specific (or not!) context to your WAI applications
description:    Add request-specific (or not!) context to your WAI applications.
category:       Web
homepage:       https://github.com/jship/context#readme
bug-reports:    https://github.com/jship/context/issues
author:         Jason Shipman
maintainer:     Jason Shipman
copyright:      2020 (c) Jason Shipman
license:        MIT
license-file:   LICENSE.md
build-type:     Simple
extra-source-files:
    CHANGELOG.md
    LICENSE.md
    package.yaml
    README.md

source-repository head
  type: git
  location: https://github.com/jship/context
  subdir: context-wai-middleware

library
  exposed-modules:
      Network.Wai.Middleware.Context
  other-modules:
      Paths_context_wai_middleware
  hs-source-dirs:
      library
  ghc-options: -Wall -fwarn-tabs -Wincomplete-uni-patterns -Wredundant-constraints
  build-depends:
      base >=4.11.1.0 && <5
    , context >=0.2.0.0 && <0.3
    , wai >=3.0.3.0 && <3.3
  default-language: Haskell2010

test-suite context-wai-middleware-test-suite
  type: exitcode-stdio-1.0
  main-is: Driver.hs
  other-modules:
      Test.Network.Wai.Middleware.ContextSpec
      Paths_context_wai_middleware
  hs-source-dirs:
      test-suite
  ghc-options: -Wall -fwarn-tabs -Wincomplete-uni-patterns -Wredundant-constraints -threaded -with-rtsopts=-N
  build-tool-depends:
      hspec-discover:hspec-discover
  build-depends:
      async
    , base
    , bytestring
    , case-insensitive
    , context
    , context-wai-middleware
    , hspec
    , http-client
    , http-types
    , stm
    , wai
    , warp
  default-language: Haskell2010