packages feed

rollbar-client-1.1.0: rollbar-client.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: 372dae78f9159532940f589cb4a58365621fc289aae679dfac95e4b6ba477ed7

name:           rollbar-client
version:        1.1.0
synopsis:       Core library to communicate with Rollbar API.
description:    Please see the README on GitHub at
                <https://github.com/stackbuilders/rollbar-haskell/tree/master/rollbar-client>
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.Client
  other-modules:
      Rollbar.Client.Deploy
      Rollbar.Client.Internal
      Rollbar.Client.Item
      Rollbar.Client.Ping
      Rollbar.Client.Settings
      Paths_rollbar_client
  hs-source-dirs:
      src
  ghc-options: -Wall
  build-depends:
      aeson >=2.0 && <3
    , base >=4.13 && <5
    , bytestring >=0.10 && <1
    , directory >=1.3 && <2
    , exceptions >=0.10 && <1
    , mtl >=2.2 && <3
    , process >=1.6 && <2
    , req >=2.1 && <4
    , text >=1.2 && <2.1
    , unordered-containers >=0.2 && <1
    , yaml >=0.11 && <1
  default-language: Haskell2010

executable client-example
  main-is: Main.hs
  other-modules:
      Paths_rollbar_client
  hs-source-dirs:
      example
  ghc-options: -Wall -threaded -rtsopts -with-rtsopts=-N
  build-depends:
      base >=4.13 && <5
    , rollbar-client
    , text
  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.ClientSpec
      Paths_rollbar_client
  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
    , mtl
    , rollbar-client
    , text
    , unordered-containers
    , yaml
  default-language: Haskell2010