]> gitweb.michael.orlitzky.com - mailbox-count.git/blob - mailbox-count.cabal
mailbox-count.cabal: bump to version 0.0.8
[mailbox-count.git] / mailbox-count.cabal
1 cabal-version: 3.0
2 name: mailbox-count
3 version: 0.0.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 license: AGPL-3.0-or-later
7 license-file: doc/LICENSE
8 homepage: https://michael.orlitzky.com/code/mailbox-count.xhtml
9 bug-reports: mailto:michael@orlitzky.com
10 category: Mail, Utils
11 build-type: Simple
12 extra-source-files:
13 doc/COPYING
14 doc/mailbox-countrc.example
15 doc/man1/mailbox-count.1
16 test/fixtures/postfixadmin.sqlite3
17 synopsis:
18 Count mailboxes in a SQL database
19 description:
20 mailbox-count produces a simple count of mailboxes that exist
21 per-domain in some SQL database. The default queries are compatible
22 with the [PostfixAdmin](https://postfixadmin.sourceforge.net/)
23 schema, but it is possible to supply your own queries.
24
25 The summary report lists each domain, along with the number of
26 mailboxes owned by that domain. The order is determined by the
27 summary query, which lists the domains alphabetically by
28 default. The default detail report shows the same, but also contains
29 a list of each individual mailbox (again in alphabetical order)
30 belonging to the domains.
31
32 A full set of options and examples can be found in the man page.
33
34
35 executable mailbox-count
36 build-depends:
37 base >= 4.15 && < 5,
38 cmdargs >= 0.10,
39 configurator >= 0.2,
40 containers >= 0.5,
41 directory >= 1.2,
42 filepath >= 1.3,
43 HDBC >= 2.4,
44 HDBC-postgresql >= 2.3,
45 HDBC-sqlite3 >= 2.3,
46 MissingH >= 1.2,
47 tasty >= 0.8,
48 tasty-hunit >= 0.8
49
50 default-language:
51 Haskell2010
52
53 main-is:
54 Main.hs
55
56 hs-source-dirs:
57 src/
58
59 other-modules:
60 Configuration
61 CommandLine
62 OptionalConfiguration
63 Paths_mailbox_count
64 Report
65
66 autogen-modules:
67 Paths_mailbox_count
68
69 test-suite testsuite
70 type: exitcode-stdio-1.0
71 hs-source-dirs: src test
72 default-language: Haskell2010
73 main-is: TestSuite.hs
74
75 other-modules:
76 Configuration
77 OptionalConfiguration
78 Paths_mailbox_count
79 Report
80
81 autogen-modules:
82 Paths_mailbox_count
83
84 build-depends:
85 base >= 4.15 && < 5,
86 cmdargs >= 0.10,
87 configurator >= 0.2,
88 containers >= 0.5,
89 directory >= 1.2,
90 filepath >= 1.3,
91 HDBC >= 2.4,
92 HDBC-sqlite3 >= 2.3,
93 MissingH >= 1.2,
94 tasty >= 0.8,
95 tasty-hunit >= 0.8
96
97
98 test-suite doctests
99 type: exitcode-stdio-1.0
100 hs-source-dirs: test
101 default-language: Haskell2010
102 main-is: Doctests.hs
103 build-depends:
104 base >= 4.15 && < 5,
105 -- Additional test dependencies.
106 doctest >= 0.9,
107 filemanip >= 0.3.6
108
109
110
111 source-repository head
112 type: git
113 location: https://gitweb.michael.orlitzky.com/mailbox-count.git
114 branch: master