Commit 14cccb3da70e9136adc1dd2c8ee7a6b9651056ae

Updated Cabal build for the 1.4 release.
.ghci
(0 / 1)
  
1:set -Wall
.gitignore
(2 / 9)
  
1*.hi
2*.o
3/GNUmakefile
4/Setup
5/Setup.lhs
6/_darcs
1# ignore cabal build files
2
73/dist
8/docs
9/hsemail-*tar.gz
10/index.html
.todo
(0 / 21)
  
1<!-- Automagically generated by the ToDo program on Mon Oct 25 21:49:50 2004 -->
2<todo version="0.1.17">
3 <note priority="medium" time="1098583075" done="1098585176">
4 The 'domain' parser is badly, badly wrong.
5 <comment>
6 fixed
7 </comment>
8 </note>
9 <note priority="high" time="1098733492">
10 Define 'read' for SmtpReply.
11 </note>
12 <note priority="medium" time="1098325577" done="1098733788">
13 Describe helpers and FSM.
14 <comment>
15 done
16 </comment>
17 </note>
18 <note priority="medium" time="1098585194">
19 Add support for IPv6- and general-syntex literals.
20 </note>
21</todo>
README
(0 / 51)
  
1Parsers for the Internet Message Standard
2=========================================
3
4:Latest Release: hsemail-1.3.tar.gz_
5:Darcs: darcs_ get --partial http://cryp.to/hsemail/
6
7Synopsis
8--------
9
10 This package contains Parsec_ combinators for the syntax of
11 Internet messages, such as e-mail, news articles, namely
12 RFC2234, RFC2821, and RFC2822.
13
14 The ``example`` directory contains two small programs that can
15 be run as follows::
16
17 $ runhaskell message-test.hs <message-test.input
18 $ runhaskell smtp-test.hs <smtp-test.input
19
20Documentation
21-------------
22
23 `Reference Documentation`_
24 Haddock-generated reference of all exported functions.
25
26See Also
27--------
28
29 `librfc2822`_
30 An E-mail parser library for C++ programmers.
31
32Copyleft
33--------
34
35 Copyright (c) 2008 Peter Simons <simons@cryp.to>. All rights
36 reserved. This software is released under `BSD-style license
37 <LICENSE>`_.
38
39-----------------------------------------------------------------
40
41`[Homepage] <http://cryp.to/>`_
42
43.. _Parsec: http://www.cs.uu.nl/people/daan/parsec.html
44
45.. _darcs: http://abridgegame.org/darcs/
46
47.. _hsemail-1.3.tar.gz: http://cryp.to/hsemail/hsemail-1.3.tar.gz
48
49.. _Reference Documentation: docs/index.html
50
51.. _librfc2822: http://cryp.to/librfc2822/
Setup.lhs
(8 / 0)
  
1#!/usr/bin/env runhaskell
2
3> module Main (main) where
4>
5> import Distribution.Simple
6>
7> main :: IO ()
8> main = defaultMain
hsemail.cabal
(35 / 24)
  
1Name: hsemail
2Version: 1.3
3Author: Peter Simons <simons@cryp.to>
4License: BSD3
5License-file: LICENSE
6Maintainer: simons@cryp.to
7Homepage: http://cryp.to/hsemail/
8Synopsis: Internet Message Parsers
9Description: Parsers for the syntax defined in RFC2821 and 2822
10Category: Parsing
11Build-Depends: base, mtl, parsec, old-time
12Build-Type: Simple
13GHC-Options: -Wall
14Exposed-Modules:
15 Text.ParserCombinators.Parsec.Rfc2234,
16 Text.ParserCombinators.Parsec.Rfc2821,
17 Text.ParserCombinators.Parsec.Rfc2822
18Data-files:
19 README,
20 prologue.txt,
21 example/message-test.hs,
22 example/message-test.input,
23 example/smtp-test.hs,
24 example/smtp-test.input
1Name: hsemail
2Version: 1.4
3Copyright: (c) 2004-2010 Peter Simons
4License: BSD3
5License-File: LICENSE
6Author: Peter Simons <simons@cryp.to>
7Maintainer: Peter Simons <simons@cryp.to>
8Homepage: http://gitorious.org/hsemail
9Category: Parsing
10Synopsis: Internet Message Parsers
11Description: Parsers for the syntax defined in RFC2821 and 2822
12Cabal-Version: >= 1.6
13Build-Type: Simple
14Tested-With: GHC == 6.12.1
15
16Extra-Source-Files: example/message-test.hs
17 example/message-test.input
18 example/smtp-test.hs
19 example/smtp-test.input
20
21Source-Repository this
22 Tag: v1.4
23 Type: git
24 Location: git://gitorious.org/hsemail/mainline.git
25
26Source-Repository head
27 Type: git
28 Location: git://gitorious.org/hsemail/mainline.git
29
30Library
31 Build-Depends: base >= 3 && < 5, mtl, parsec, old-time
32 Exposed-Modules: Text.ParserCombinators.Parsec.Rfc2234
33 Text.ParserCombinators.Parsec.Rfc2821
34 Text.ParserCombinators.Parsec.Rfc2822
35 Ghc-Options: -Wall
  
1This package provides a myriad parsers for Internet messages
2as defined in RFC2234, RFC2821, and RFC2822. That would be
3e-mail, mostly.