packages feed

hnormalise-0.3.2.0: hnormalise.cabal

name:                hnormalise
version:             0.3.2.0
synopsis:            Log message normalisation tool producing structured JSON messages
description:         Log message normalisation tool producing structured JSON messages
homepage:            https://github.com/itkovian/hnormalise#readme
license:             BSD3
license-file:        LICENSE
author:              Andy Georges
maintainer:          itkovian@gmail.com
copyright:           2017 Andy Georges
category:            Command line
build-type:          Simple
extra-source-files:  README.md
cabal-version:       >=1.10

library
  hs-source-dirs:      src
  exposed-modules:     HNormalise
                     , HNormalise.Config
                     , HNormalise.Internal
                     , HNormalise.Json
                     , HNormalise.Parser
                     , HNormalise.Common.Json
                     , HNormalise.Common.Parser
                     , HNormalise.Common.Internal
                     , HNormalise.Huppel.Internal
                     , HNormalise.Huppel.Json
                     , HNormalise.Huppel.Parser
                     , HNormalise.Lmod.Internal
                     , HNormalise.Lmod.Json
                     , HNormalise.Lmod.Parser
                     , HNormalise.Shorewall.Internal
                     , HNormalise.Shorewall.Json
                     , HNormalise.Shorewall.Parser
                     , HNormalise.Snoopy.Internal
                     , HNormalise.Snoopy.Json
                     , HNormalise.Snoopy.Parser
                     , HNormalise.Torque.Internal
                     , HNormalise.Torque.Json
                     , HNormalise.Torque.Parser
  build-depends:       base >= 4.7 && < 5
                     , aeson
                     , aeson-pretty
                     , attoparsec
                     , attoparsec-iso8601
                     , bytestring
                     , containers
                     , directory
                     , ip
                     , permute
                     , text
                     , time
                     , yaml
  default-language:    Haskell2010

executable hnormalise
  hs-source-dirs:      app
  main-is:             Main.hs
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -funbox-strict-fields -optc-O2
  build-depends:       base
                     , hnormalise
                     , aeson
                     , aeson-pretty
                     , attoparsec
                     , attoparsec-iso8601
                     , bytestring
                     , conduit
                     , conduit-combinators
                     , conduit-extra
                     , containers
                     , directory
                     , ip
                     , optparse-applicative
                     , resourcet
                     , text
                     , time
                     , word8
                     , yaml
  default-language:    Haskell2010

test-suite hnormalise-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  other-modules:       HNormalise.ParserSpec
                     , HNormalise.Common.ParserSpec
                     , HNormalise.Lmod.ParserSpec
                     , HNormalise.Shorewall.ParserSpec
                     , HNormalise.Snoopy.ParserSpec
                     , HNormalise.Torque.ParserSpec
  build-depends:       base
                     , aeson
                     , attoparsec
                     , attoparsec-iso8601
                     , conduit-extra
                     , hnormalise
                     , hspec
                     , hspec-core
                     , hspec-expectations
                     , hspec-attoparsec
                     , ip
                     , text
                     , time
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

benchmark hnormalise-bench
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Bench.hs
  build-depends:       base
                     , aeson
                     , attoparsec
                     , criterion
                     , deepseq
                     , hnormalise
                     , random
                     , text
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N -funbox-strict-fields -optc-O2
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/githubuser/hnormalise