packages feed

hsemail-ns-1.7.7: hsemail-ns.cabal

Name:                   hsemail-ns
Version:                1.7.7
Copyright:              (c) 2013 Peter Simons
License:                BSD3
License-File:           LICENSE
Author:                 Peter Simons <simons@cryp.to>, Gero Kriependorf <gero-dev@physra.net>, Marty Pauley <marty@kasei.com>, Joe Fredette <jfredett@gmail.com>, Phlummox <phlummox2@gmail.com>
Maintainer:             phlummox2@gmail.com
Homepage:               https://github.com/phlummox/hsemail-ns/tree/hsemail-ns
Category:               Parsing
Synopsis:               Internet Message Parsers
Description:            Nonstandard parsers for the syntax defined in RFC2822, forked from hsemail proper - permits lf line-ends in addition to crlf. Should not be used for parsing incoming emails, only emails stored on disk.
Cabal-Version:          >= 1.8
Build-Type:             Simple

Extra-Source-Files:     example/message-test.hs
                        example/message-test.input
                        ChangeLog.md

Source-Repository this
  Type:                 git
  Location:             git@github.com:phlummox/hsemail-ns.git
  Branch:               hsemail-ns
  Tag:                  hsemail-ns-v1.7.7

Library
  Build-Depends:        base >= 3 && < 5, 
                        mtl, 
                        parsec, 
                        old-time
  Exposed-Modules:      Text.ParserCombinators.Parsec.Rfc2234NS,
                        Text.ParserCombinators.Parsec.Rfc2822NS
  Ghc-Options:          -Wall

Test-Suite test-hsemail
  type:                 exitcode-stdio-1.0
  main-is:              self-test.hs
  build-depends:        base, hspec, parsec, old-time

Test-Suite doctest-hsemail
  type:                 exitcode-stdio-1.0
  main-is:              doc-test.hs
  build-depends:        base, doctest