packages feed

logplex-parse-0.1.0.2: logplex-parse.cabal

-- Initial logplex-parse.cabal generated by cabal init.  For further
-- documentation, see http://haskell.org/cabal/users-guide/

-- The name of the package.
name:                logplex-parse

-- The package version.  See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.1.0.2

-- A short (one-line) description of the package.
synopsis:            Parse Heroku application/logplex documents

-- A longer description of the package.
-- description:

-- URL for the project homepage or repository.
homepage:            https://github.com/keithduncan/logplex-parse

-- The license under which the package is released.
license:             MIT

-- The file containing the license text.
license-file:        LICENSE

-- The package author(s).
author:              Keith Duncan

-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer:          keith.duncan@github.com

-- A copyright notice.
-- copyright:

category:            Text

build-type:          Simple

-- Extra files to be distributed with the package, such as examples or a
-- README.
-- extra-source-files:

-- Constraint on the version of Cabal needed to build this package.
cabal-version:       >=1.10

source-repository head
  type: git
  location: https://github.com/keithduncan/logplex-parse

library
  -- Modules exported by the library.
  exposed-modules: Text.Logplex.Parser,
                   Text.Syslog.Parser

  -- Modules included in this library but not exported.
  -- other-modules:

  -- LANGUAGE extensions used by modules in this package.
  -- other-extensions:

  -- Other library packages from which modules are imported.
  build-depends:       base >=4.8 && <4.9,
                       parsec >= 3.1 && <3.2,
                       text >= 1.2 && <1.3,
                       iso8601-time >= 0.1 && <0.2,
                       time >= 1.5 && <1.6

  -- Directories containing source files.
  hs-source-dirs:      src

  -- Base language which the package is written in.
  default-language:    Haskell2010

test-suite tests
  ghc-options: -Wall
  default-extensions:  OverloadedStrings
  type: exitcode-stdio-1.0
  hs-source-dirs: spec
  main-is: Spec.hs
  build-depends:  base >= 4.8 && <4.9,
                  logplex-parse -any,
                  hspec >= 2.2 && <2.3,
                  time >= 1.5 && <1.6
  default-language: Haskell2010