Fix parsing of labels beginning with digits.
[dead/harbl.git] / harbl.cabal
1 name: harbl
2 version: 0.0.1
3 cabal-version: >= 1.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 category: Utils
7 license: AGPL-3
8 license-file: doc/LICENSE
9 build-type: Simple
10 synopsis:
11 Real-time Blacklist (RBL) library.
12 description:
13 Provides utility functions for performing blacklist lookups.
14
15
16 executable harbl
17 build-depends:
18 base >= 4.6 && < 5,
19 dns >= 2,
20 iproute >= 1.4,
21 parsec >= 3,
22 tasty >= 0.8,
23 tasty-hunit >= 0.8
24
25 main-is:
26 Main.hs
27
28 other-modules:
29 Network.DNS.RBL
30 Network.DNS.RBL.Domain
31 Network.DNS.RBL.IPv4Pattern
32 Network.DNS.RBL.Pretty
33 Network.DNS.RBL.Site
34
35 hs-source-dirs:
36 src/
37
38 ghc-options:
39 -Wall
40 -fwarn-hi-shadowing
41 -fwarn-missing-signatures
42 -fwarn-name-shadowing
43 -fwarn-orphans
44 -fwarn-type-defaults
45 -fwarn-tabs
46 -fwarn-incomplete-record-updates
47 -fwarn-monomorphism-restriction
48 -fwarn-unused-do-bind
49 -O2
50
51 ghc-prof-options:
52 -prof
53 -fprof-auto
54 -fprof-cafs
55
56
57 test-suite testsuite
58 type: exitcode-stdio-1.0
59 hs-source-dirs: src test
60 main-is: TestSuite.hs
61 build-depends:
62 base >= 4.6 && < 5,
63 dns >= 2,
64 iproute >= 1.4,
65 parsec >= 3,
66 tasty >= 0.8,
67 tasty-hunit >= 0.8
68
69 -- It's not entirely clear to me why I have to reproduce all of this.
70 ghc-options:
71 -Wall
72 -fwarn-hi-shadowing
73 -fwarn-missing-signatures
74 -fwarn-name-shadowing
75 -fwarn-orphans
76 -fwarn-type-defaults
77 -fwarn-tabs
78 -fwarn-incomplete-record-updates
79 -fwarn-monomorphism-restriction
80 -fwarn-unused-do-bind
81 -O2
82
83
84 test-suite doctests
85 type: exitcode-stdio-1.0
86 hs-source-dirs: test
87 main-is: Doctests.hs
88 build-depends:
89 base >= 4.6 && < 5,
90 -- Additional test dependencies.
91 doctest >= 0.9,
92 filemanip >= 0.3.6
93
94 -- It's not entirely clear to me why I have to reproduce all of this.
95 ghc-options:
96 -Wall
97 -fwarn-hi-shadowing
98 -fwarn-missing-signatures
99 -fwarn-name-shadowing
100 -fwarn-orphans
101 -fwarn-type-defaults
102 -fwarn-tabs
103 -fwarn-incomplete-record-updates
104 -fwarn-monomorphism-restriction
105 -fwarn-unused-do-bind
106 -rtsopts
107 -threaded
108 -optc-O3
109 -optc-march=native
110 -O2
111
112
113 source-repository head
114 type: git
115 location: http://michael.orlitzky.com/git/harbl.git
116 branch: master