packages feed

rollbar-yesod-0.1.0: rollbar-yesod.cabal

cabal-version: 1.12

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

name:           rollbar-yesod
version:        0.1.0
synopsis:       Provides error reporting capabilities to Yesod applications through Rollbar API.

description:    Please see the README on GitHub at
                <https://github.com/stackbuilders/rollbar-haskell/tree/master/rollbar-yesod>
homepage:       https://github.com/stackbuilders/rollbar-haskell#readme
bug-reports:    https://github.com/stackbuilders/rollbar-haskell/issues
author:         Stack Builders Inc.
maintainer:     Sebastián Estrella <sestrella@stackbuilders.com>
copyright:      2020 Stack Builders Inc.
license:        MIT
license-file:   LICENSE
tested-with:    GHC ==8.6.5, GHC ==8.8.4, GHC ==8.10.2
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.Yesod
  other-modules:
      Paths_rollbar_yesod
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      base >=4.12 && <5
    , rollbar-client >=0.1 && <1
    , rollbar-wai >=0.1 && <1
    , unliftio >=0.2 && <1
    , wai >=3.2 && <4
    , yesod-core >=1.6 && <2
  default-language: Haskell2010

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

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Rollbar.YesodSpec
      Paths_rollbar_yesod
  hs-source-dirs:
      test
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
  build-tool-depends:
      hspec-discover:hspec-discover >=2.7 && <3
  build-depends:
      base >=4.12 && <5
    , hspec >=2.7 && <3
    , rollbar-client
    , rollbar-yesod
    , wai
    , yesod-core
    , yesod-test >=1.6 && <2
  default-language: Haskell2010