]> gitweb.michael.orlitzky.com - email-validator.git/blob - email-validator.cabal
email-validator.cabal: bump to version 1.1.0
[email-validator.git] / email-validator.cabal
1 cabal-version: 3.0
2 name: email-validator
3 version: 1.1.0
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 homepage: https://michael.orlitzky.com/code/email-validator.xhtml
7 bug-reports: mailto:michael@orlitzky.com
8 category: Utils
9 license: AGPL-3.0-or-later
10 license-file: doc/LICENSE
11 build-type: Simple
12 extra-source-files:
13 doc/COPYING
14 doc/man1/email-validator.1
15 synopsis:
16 Perform basic syntax and deliverability checks on email addresses.
17 description:
18 Validate an email address using three techniques:
19
20 * Ensuring that the length of local and domain parts is within the
21 RFC-specified limits.
22 * A syntax check using a regular expression, or the full RFC 5322
23 grammar.
24 * Confirmation of valid @MX@ records (or, optionally, @A@
25 records) for the domain.
26
27 A complete description, options, and examples can be found in the
28 man page.
29
30
31 executable email-validator
32 build-depends:
33 base >= 4.15 && < 5,
34 bytestring >= 0.10,
35 cmdargs >= 0.10,
36 dns >= 2,
37 email-validate >= 2,
38 HUnit >= 1.2,
39 parallel-io >= 0.3,
40 pcre-light >= 0.4,
41 tasty >= 0.8,
42 tasty-hunit >= 0.8
43
44 default-language:
45 Haskell2010
46
47 main-is:
48 Main.hs
49
50 hs-source-dirs:
51 src/
52
53 other-modules:
54 CommandLine
55 EmailAddress
56 Paths_email_validator
57
58 autogen-modules:
59 Paths_email_validator
60
61
62 test-suite testsuite
63 type: exitcode-stdio-1.0
64 hs-source-dirs: src test
65 default-language: Haskell2010
66 main-is: TestSuite.hs
67
68 build-depends:
69 base >= 4.15 && < 5,
70 bytestring >= 0.10,
71 email-validate >= 2,
72 HUnit >= 1.2,
73 pcre-light >= 0.4,
74 tasty >= 0.8,
75 tasty-hunit >= 0.8
76
77 other-modules:
78 EmailAddress
79
80
81 test-suite doctests
82 type: exitcode-stdio-1.0
83 hs-source-dirs: test
84 default-language: Haskell2010
85 main-is: Doctests.hs
86 build-depends:
87 base >= 4.15 && < 5,
88 -- Additional test dependencies.
89 doctest >= 0.9
90
91
92 source-repository head
93 type: git
94 location: https://gitweb.michael.orlitzky.com/email-validator.git
95 branch: master