]> gitweb.michael.orlitzky.com - dead/harbl.git/blob - harbl.cabal
Fix typo in module docs.
[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 library
17 build-depends:
18 base >= 4.6 && < 5,
19 bytestring >= 0.9,
20 cmdargs >= 0.10.6,
21 configurator >= 0.2,
22 dns >= 2,
23 iproute >= 1.4,
24 parsec >= 3,
25 tasty >= 0.8,
26 tasty-hunit >= 0.8
27
28 exposed-modules:
29 Network.DNS.RBL
30 Network.DNS.RBL.Tests
31 Network.DNS.RBL.Weight
32
33 other-modules:
34 Network.DNS.RBL.Domain.Digit
35 Network.DNS.RBL.Domain.Domain
36 Network.DNS.RBL.Domain.Hyphen
37 Network.DNS.RBL.Domain.Label
38 Network.DNS.RBL.Domain.LdhStr
39 Network.DNS.RBL.Domain.LdhStrLetDig
40 Network.DNS.RBL.Domain.LetDig
41 Network.DNS.RBL.Domain.LetDigHyp
42 Network.DNS.RBL.Domain.Letter
43 Network.DNS.RBL.Domain.Subdomain
44 Network.DNS.RBL.Host
45 Network.DNS.RBL.IPv4Pattern
46 Network.DNS.RBL.Pretty
47 Network.DNS.RBL.Reversible
48 Network.DNS.RBL.Site
49
50 hs-source-dirs: harbl/src
51
52 ghc-options:
53 -Wall
54 -fwarn-hi-shadowing
55 -fwarn-missing-signatures
56 -fwarn-name-shadowing
57 -fwarn-orphans
58 -fwarn-type-defaults
59 -fwarn-tabs
60 -fwarn-incomplete-record-updates
61 -fwarn-monomorphism-restriction
62 -fwarn-unused-do-bind
63 -O2
64
65 ghc-prof-options:
66 -prof
67 -fprof-auto
68 -fprof-cafs
69
70
71 executable harbl
72 build-depends:
73 base >= 4.6 && < 5,
74 cmdargs >= 0.10.6,
75 configurator >= 0.2,
76 directory,
77 filepath,
78 harbl,
79 parsec >= 3,
80 text
81
82 main-is: Main.hs
83
84 hs-source-dirs: harbl-cli/src
85
86 -- Other modules needed...
87
88 ghc-options:
89 -Wall
90 -fwarn-hi-shadowing
91 -fwarn-missing-signatures
92 -fwarn-name-shadowing
93 -fwarn-orphans
94 -fwarn-type-defaults
95 -fwarn-tabs
96 -fwarn-incomplete-record-updates
97 -fwarn-monomorphism-restriction
98 -fwarn-unused-do-bind
99 -O2
100
101 ghc-prof-options:
102 -prof
103 -fprof-auto
104 -fprof-cafs
105
106
107 test-suite testsuite
108 type: exitcode-stdio-1.0
109 hs-source-dirs: test
110 main-is: TestSuite.hs
111 build-depends:
112 base >= 4.6 && < 5,
113 harbl,
114 tasty >= 0.8,
115 tasty-hunit >= 0.8
116
117 -- It's not entirely clear to me why I have to reproduce all of this.
118 ghc-options:
119 -Wall
120 -fwarn-hi-shadowing
121 -fwarn-missing-signatures
122 -fwarn-name-shadowing
123 -fwarn-orphans
124 -fwarn-type-defaults
125 -fwarn-tabs
126 -fwarn-incomplete-record-updates
127 -fwarn-monomorphism-restriction
128 -fwarn-unused-do-bind
129 -O2
130
131
132 test-suite doctests
133 type: exitcode-stdio-1.0
134 hs-source-dirs: test
135 main-is: Doctests.hs
136 build-depends:
137 base >= 4.6 && < 5,
138 -- Additional test dependencies.
139 doctest >= 0.9,
140 filemanip >= 0.3.6
141
142 -- It's not entirely clear to me why I have to reproduce all of this.
143 ghc-options:
144 -Wall
145 -fwarn-hi-shadowing
146 -fwarn-missing-signatures
147 -fwarn-name-shadowing
148 -fwarn-orphans
149 -fwarn-type-defaults
150 -fwarn-tabs
151 -fwarn-incomplete-record-updates
152 -fwarn-monomorphism-restriction
153 -fwarn-unused-do-bind
154 -rtsopts
155 -threaded
156 -optc-O3
157 -optc-march=native
158 -O2
159
160
161 source-repository head
162 type: git
163 location: http://michael.orlitzky.com/git/harbl.git
164 branch: master