packages feed

bugsnag-haskell-0.0.3.1: bugsnag-haskell.cabal

cabal-version: 1.18

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

name:           bugsnag-haskell
version:        0.0.3.1
synopsis:       Bugsnag error reporter for Haskell
description:    Please see README.md
category:       Web
homepage:       https://github.com/pbrisbin/bugsnag-haskell#readme
author:         Patrick Brisbin
maintainer:     pbrisbin@gmail.com
license:        MIT
license-file:   LICENSE
build-type:     Simple
extra-source-files:
    test/fixtures/index-project/Foo.hs
extra-doc-files:
    CHANGELOG.md
    README.md

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

library
  exposed-modules:
      Data.Aeson.Ext
      Network.Bugsnag
      Network.Bugsnag.App
      Network.Bugsnag.BeforeNotify
      Network.Bugsnag.Breadcrumb
      Network.Bugsnag.CodeIndex
      Network.Bugsnag.Device
      Network.Bugsnag.Event
      Network.Bugsnag.Exception
      Network.Bugsnag.Exception.Parse
      Network.Bugsnag.Notifier
      Network.Bugsnag.Notify
      Network.Bugsnag.ReleaseStage
      Network.Bugsnag.Report
      Network.Bugsnag.Reporter
      Network.Bugsnag.Request
      Network.Bugsnag.Session
      Network.Bugsnag.Settings
      Network.Bugsnag.Severity
      Network.Bugsnag.StackFrame
      Network.Bugsnag.Thread
      Network.Bugsnag.User
  other-modules:
      Paths_bugsnag_haskell
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      Glob >=0.9.0
    , aeson >=1.3.0.0
    , base >=4.11.0 && <5
    , bytestring
    , case-insensitive
    , containers
    , http-client
    , http-client-tls
    , http-conduit
    , http-types
    , iproute
    , network
    , parsec
    , template-haskell
    , text
    , th-lift-instances
    , time
    , ua-parser
    , wai
  default-language: Haskell2010

executable example-cli
  main-is: Main.hs
  other-modules:
      Paths_bugsnag_haskell
  hs-source-dirs:
      examples/cli
  ghc-options: -Wall
  build-depends:
      base >=4.11.0 && <5
    , bugsnag-haskell
  if !(flag(examples))
    buildable: False
  default-language: Haskell2010

executable example-simple
  main-is: Main.hs
  other-modules:
      Paths_bugsnag_haskell
  hs-source-dirs:
      examples/simple
  ghc-options: -Wall
  build-depends:
      base >=4.11.0 && <5
    , bugsnag-haskell
  if !(flag(examples))
    buildable: False
  default-language: Haskell2010

executable example-warp
  main-is: Main.hs
  other-modules:
      Paths_bugsnag_haskell
  hs-source-dirs:
      examples/warp
  ghc-options: -Wall
  build-depends:
      base >=4.11.0 && <5
    , bugsnag-haskell
    , wai
    , warp
  if !(flag(examples))
    buildable: False
  default-language: Haskell2010

executable example-yesod
  main-is: Main.hs
  other-modules:
      Paths_bugsnag_haskell
  hs-source-dirs:
      examples/yesod
  ghc-options: -Wall
  build-depends:
      base >=4.11.0 && <5
    , bugsnag-haskell
    , exceptions
    , unliftio
    , wai
    , warp
    , yesod-core
  if !(flag(examples))
    buildable: False
  default-language: Haskell2010

test-suite doctest
  type: exitcode-stdio-1.0
  main-is: DocTest.hs
  other-modules:
      Paths_bugsnag_haskell
  hs-source-dirs:
      ./.
  ghc-options: -Wall -Wall
  build-depends:
      base >=4.11.0 && <5
    , doctest
  default-language: Haskell2010

test-suite spec
  type: exitcode-stdio-1.0
  main-is: Spec.hs
  other-modules:
      Network.Bugsnag.CodeIndexSpec
      Network.Bugsnag.ReportSpec
      Network.BugsnagSpec
      Paths_bugsnag_haskell
  hs-source-dirs:
      test
  ghc-options: -Wall
  build-depends:
      aeson
    , aeson-qq
    , base >=4.11.0 && <5
    , bugsnag-haskell
    , hspec
    , text
    , time
    , unliftio
  default-language: Haskell2010