File: hsemail.cabal

package info (click to toggle)
haskell-hsemail 2.2.2-2
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 152 kB
  • sloc: haskell: 984; makefile: 2
file content (89 lines) | stat: -rw-r--r-- 1,787 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name:               hsemail
version:            2.2.2
synopsis:           Parsec parsers for the Internet Message format (e-mail)
description:
  Parsec parsers for the Internet Message format defined in RFC2822.

license:            BSD3
license-file:       LICENSE
author:
  Peter Simons,
  Ali Abrar,
  Gero Kriependorf,
  Marty Pauley

maintainer:         Peter Simons <simons@cryp.to>
stability:          stable
tested-with:
  GHC ==7.10.3
   || ==8.0.2
   || ==8.2.2
   || ==8.4.4
   || ==8.6.5
   || ==8.8.4
   || ==8.10.7
   || ==9.0.2
   || ==9.2.8
   || ==9.4.8
   || ==9.6.4
   || ==9.8.1

category:           Parsing
homepage:           https://github.com/peti/hsemail#readme
bug-reports:        https://github.com/peti/hsemail/issues
build-type:         Simple
extra-source-files:
  ChangeLog.md
  README.md

cabal-version:      >=1.10

source-repository head
  type:     git
  location: https://github.com/peti/hsemail

flag install-examples
  description: Build and install example programs.
  default:     False

library
  exposed-modules:
    Text.Parsec.Rfc2234
    Text.Parsec.Rfc2822

  hs-source-dirs:   src
  build-depends:
      base         >=4.8.0 && <5
    , parsec       >=3.1   && <3.2
    , time
    , time-compat  >=1.9   && <1.10

  default-language: Haskell2010

test-suite test-hsemail
  type:             exitcode-stdio-1.0
  main-is:          spec.hs
  hs-source-dirs:   test
  build-depends:
      base
    , hsemail
    , hspec
    , parsec
    , time

  default-language: Haskell2010

executable message-test
  main-is:          message-test.hs
  hs-source-dirs:   example
  default-language: Haskell2010

  if flag(install-examples)
    buildable:     True
    build-depends:
        base
      , hsemail
      , parsec

  else
    buildable: False