packages feed

katip-0.4.0.0: katip.cabal

name:                katip
version:             0.4.0.0
synopsis:            A structured logging framework.
description:
  Katip is a structured logging framework. See README.md for more details.

license:             BSD3
license-file:        LICENSE
author:              Ozgun Ataman, Michael Xavier
maintainer:          michael.xavier@soostone.com
copyright:           Soostone Inc, 2015-2016
category:            Data, Text, Logging
homepage:            https://github.com/Soostone/katip
bug-reports:         https://github.com/Soostone/katip/issues
build-type:          Simple
cabal-version:       >=1.10
extra-source-files:
  README.md
  changelog.md
  examples/example.hs
  examples/example_lens.hs
  bench/Main.hs
  test/Main.hs
  test/Katip/Tests.hs
  test/Katip/Tests/Scribes/Handle.hs
  test/Katip/Tests/Scribes/Handle-text.golden
  test/Katip/Tests/Format/Time.hs
tested-with: GHC == 7.8.4, GHC== 7.10.3

source-repository head
  type:     git
  location: https://github.com/Soostone/katip.git

flag lib-Werror
  default: False
  manual: True

library
  exposed-modules:
    Katip
    Katip.Core
    Katip.Format.Time
    Katip.Monadic
    Katip.Scribes.Handle

  default-extensions:
    DeriveGeneric
    FlexibleContexts
    GeneralizedNewtypeDeriving
    MultiParamTypeClasses
    RankNTypes
    RecordWildCards
    TemplateHaskell
    OverloadedStrings

  build-depends: base >=4.5 && <5
               , aeson >=0.6 && <1.2
               , async < 3.0.0.0
               , auto-update >= 0.1 && < 0.2
               , bytestring >= 0.9 && < 0.11
               , containers >=0.4 && <0.6
               , either >= 4 && < 4.5
               , exceptions >= 0.5 && < 0.9
               , hostname >=1.0 && <1.1
               , old-locale >= 1.0 && < 1.1
               , string-conv >= 0.1 && < 0.2
               , template-haskell >= 2.8 && < 2.12
               , text >= 0.11 && <1.3
               , time >= 1 && < 1.7
               , transformers >= 0.3 && < 0.6
               , transformers-compat
               , unordered-containers >= 0.2 && < 0.3
               , monad-control >= 1.0 && < 1.1
               , mtl >= 2.0 && < 2.3
               , transformers-base >= 0.3 && < 0.6
               , resourcet >= 1.1 && < 1.2
               , microlens >= 0.2.0.0 && < 0.5
               , microlens-th >= 0.1.0.0 && < 0.5
               , semigroups
               , unagi-chan < 0.5.0.0

  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:        -Wall
  if flag(lib-Werror)
    ghc-options: -Werror
  if os(windows)
    build-depends: Win32 >=2.3 && <2.5
    other-modules: Katip.Compat
  else
    build-depends: unix >= 2.5 && <2.8


test-suite test
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs: test
  other-modules:
    Katip.Tests.Format.Time
    Katip.Tests.Scribes.Handle
    Katip.Tests
  default-language:    Haskell2010
  build-depends: base
               , katip
               , aeson
               , bytestring
               , tasty >= 0.10.1.2
               , tasty-golden
               , tasty-hunit
               , tasty-quickcheck
               , quickcheck-instances
               , template-haskell
               , text
               , time
               , time-locale-compat >= 0.1.0.1 && < 0.2
               , directory
               , regex-tdfa
               , unordered-containers
               , microlens
  ghc-options: -Wall
  if flag(lib-Werror)
    ghc-options: -Werror


benchmark bench
  type: exitcode-stdio-1.0
  main-is: Main.hs
  hs-source-dirs: bench
  default-language:    Haskell2010
  ghc-options: -O2 -Wall -threaded -rtsopts -with-rtsopts=-N
  if flag(lib-Werror)
    ghc-options: -Werror
  build-depends:
                 base
               , aeson
               , blaze-builder
               , katip
               , criterion >= 1.1.0.0
               , unix
               , text
               , time
               , transformers
               , deepseq
               , async