packages feed

rollbar-wai-1.1.0: rollbar-wai.cabal

cabal-version: 1.12

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

name:           rollbar-wai
version:        1.1.0
synopsis:       Provides error reporting capabilities to WAI based applications through Rollbar API.

description:    Please see the README on GitHub at
                <https://github.com/stackbuilders/rollbar-haskell/tree/master/rollbar-wai>
category:       Network
homepage:       https://github.com/stackbuilders/rollbar-haskell#readme
bug-reports:    https://github.com/stackbuilders/rollbar-haskell/issues
author:         Stack Builders Inc.
maintainer:     David Mazarro <dmunuera@stackbuilders.com>
copyright:      2020-present Stack Builders Inc.
license:        MIT
license-file:   LICENSE
tested-with:
    GHC ==8.8.4, GHC ==8.10.7, GHC ==9.4.7
build-type:     Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
  type: git
  location: https://github.com/stackbuilders/rollbar-haskell

flag example
  description: Build the example
  manual: False
  default: False

library
  exposed-modules:
      Rollbar.Wai
  other-modules:
      Paths_rollbar_wai
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      aeson >=2.0 && <3
    , base >=4.13 && <5
    , bytestring >=0.10 && <1
    , case-insensitive >=1.2 && <2
    , http-types >=0.12 && <1
    , rollbar-client >=1.0 && <2
    , text >=1.2 && <2.1
    , unordered-containers >=0.2 && <1
    , wai >=3.2 && <4
    , wai-extra >=3.0 && <4
  default-language: Haskell2010

executable wai-example
  main-is: Main.hs
  other-modules:
      Paths_rollbar_wai
  hs-source-dirs:
      example
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.13 && <5
    , rollbar-client
    , rollbar-wai
    , wai
    , warp
  default-language: Haskell2010
  if flag(example)
    buildable: True
  else
    buildable: False

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Rollbar.WaiSpec
      Paths_rollbar_wai
  hs-source-dirs:
      test
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
  build-tool-depends:
      hspec-discover:hspec-discover >=2.7 && <3
  build-depends:
      aeson
    , base >=4.13 && <5
    , hspec >=2.7 && <3
    , http-types
    , mtl >=2.2 && <3
    , process >=1.6 && <2
    , req >=2.1 && <4
    , rollbar-client
    , rollbar-wai
    , text
    , unordered-containers
    , wai
    , warp >=3.3 && <4
  default-language: Haskell2010