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