packages feed

xml-enumerator-combinators-0.1: xml-enumerator-combinators.cabal

-- xml-enumerator-combinators.cabal auto-generated by cabal init. For
-- additional options, see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name:                xml-enumerator-combinators

-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version:             0.1

-- A short (one-line) description of the package.
Synopsis:            Parser combinators for xml-enumerator and compatible XML parsers.

-- A longer description of the package.
Description:         Parser combinators for xml-enumerator and compatible XML parsers. The aim is to provide advanced parser combinators to eliminate
                     tiresome repetition of boilerplate in streaming XML parsers.

-- The license under which the package is released.
License:             BSD3

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

-- The package author(s).
Author:              Aristid Breitkreuz

-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer:          aristidb@googlemail.com

-- A copyright notice.
-- Copyright:           

Category:            XML, Enumerator

Build-type:          Simple

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

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

Flag test
    default: False

Library
  -- Modules exported by the library.
  Exposed-modules:     Text.XML.Enumerator.Combinators.General,
                       Text.XML.Enumerator.Combinators.Tags
  
  -- Packages needed in order to build this package.
  Build-depends:       base >=4.2 && <5,
                       containers >=0.3 && <0.5,
                       enumerator >=0.4.9 && <0.5,
                       xml-types >=0.3 && <0.4,
                       xml-enumerator >=0.3.0

  GHC-Options:         -Wall
  
  -- Modules not exported by this package.
  -- Other-modules:       
  
  -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
  -- Build-tools:         

Executable runtests
    main-is:         runtests.hs
    if flag(test)
        Buildable: True
        Build-depends: base, HUnit, hspec >= 0.3 && < 0.4, bytestring, text, transformers
    else
        Buildable: False