packages feed

arbor-monad-logger-0.1.0.0: arbor-monad-logger.cabal

cabal-version:  2.2
name:           arbor-monad-logger
version:        0.1.0.0
description:    Please see the README on GitHub at <https://github.com/packetloop/arbor-monad-logger#readme>
homepage:       https://github.com/packetloop/arbor-monad-logger#readme
bug-reports:    https://github.com/packetloop/arbor-monad-logger/issues
author:         Arbor Networks
maintainer:     mayhem@arbor.net
copyright:      2018-2019 Arbor Networks
license:        MIT
license-file:   LICENSE
build-type:     Simple
synopsis:       Simple logging library
category:       Logging
extra-source-files:
    ChangeLog.md
    README.md

source-repository head
  type: git
  location: https://github.com/packetloop/arbor-monad-logger

common base               { build-depends: base               >= 4          && < 5      }

common bytestring         { build-depends: bytestring         >= 0.10.0.0   && < 0.11   }
common fast-logger        { build-depends: fast-logger        >= 2.4.11     && < 2.5    }
common hedgehog           { build-depends: hedgehog           >= 0.6.1      && < 0.7    }
common hspec              { build-depends: hspec              >= 2.6.1      && < 2.7    }
common hw-hspec-hedgehog  { build-depends: hw-hspec-hedgehog  >= 0.1.0.4    && < 0.2    }
common monad-logger       { build-depends: monad-logger       >= 0.3.28.5   && < 0.4    }
common mtl                { build-depends: mtl                >= 2.2        && < 2.3    }
common text               { build-depends: text               >= 1.2.3.0    && < 1.3    }

common common
  default-language: Haskell2010

library
  import:   base, common
          , bytestring
          , fast-logger
          , monad-logger
          , text
  hs-source-dirs:   src
  other-modules:    Paths_arbor_monad_logger
  autogen-modules:  Paths_arbor_monad_logger
  exposed-modules:
      Arbor.Monad.Logger

test-suite arbor-monad-logger-test
  import:   base, common
          , hedgehog
          , hspec
          , hw-hspec-hedgehog
  type:               exitcode-stdio-1.0
  main-is:            Spec.hs
  hs-source-dirs:     test
  default-extensions: BangPatterns FlexibleContexts FlexibleInstances GeneralizedNewtypeDeriving MultiParamTypeClasses OverloadedStrings TupleSections
  ghc-options:        -threaded -rtsopts -with-rtsopts=-N
  build-depends:      arbor-monad-logger

executable arbor-monad-logger-example
  import:   base, common
          , mtl
  main-is:            Main.hs
  other-modules:      AppEnv
                    , Paths_arbor_monad_logger
  autogen-modules:    Paths_arbor_monad_logger
  hs-source-dirs:     app
  ghc-options:        -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints -O2 -msse4.2 -rtsopts -threaded
  build-depends:      arbor-monad-logger