]> gitweb.michael.orlitzky.com - hath.git/blob - hath.cabal
hath.cabal: drop a word and a period from the synopsis
[hath.git] / hath.cabal
1 cabal-version: 3.0
2 name: hath
3 version: 0.5.8
4 author: Michael Orlitzky
5 maintainer: Michael Orlitzky <michael@orlitzky.com>
6 homepage: https://michael.orlitzky.com/code/hath.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/hath.1
15 test/shell/*.test
16 synopsis:
17 Manipulates network blocks in CIDR notation
18 description:
19 Hath is a Haskell program for working with network blocks in CIDR
20 notation. When dealing with blocks of network addresses, there are a
21 few things that one usually wants to do with them:
22
23 * Create a regular expression matching the CIDR block(s). This is
24 because grep will throw up if you feed it CIDR.
25
26 * Combine small blocks into larger ones. For example, if you have two
27 consecutive \/24s, they might combine into a larger \/23.
28
29 * View the result of block combination in a useful way.
30
31 * List them.
32
33 Hath has several modes to perform these functions. The command-line
34 syntax and complete set of options are documented in the man page.
35
36
37 executable hath
38 default-language:
39 Haskell2010
40
41 main-is:
42 Main.hs
43
44 hs-source-dirs:
45 src/
46
47 other-modules:
48 Bit
49 Cidr
50 CommandLine
51 ExitCodes
52 IPv4Address
53 Maskable
54 Maskbits
55 Octet
56 Paths_hath
57
58 autogen-modules:
59 Paths_hath
60
61 build-depends:
62 base >= 4.15 && < 5.0,
63 cmdargs >= 0.10,
64 split >= 0.2,
65 tasty >= 0.8,
66 tasty-hunit >= 0.8,
67 tasty-quickcheck >= 0.8.1
68
69
70 test-suite testsuite
71 type: exitcode-stdio-1.0
72 hs-source-dirs: src test
73 default-language: Haskell2010
74 main-is: TestSuite.hs
75
76 other-modules:
77 Bit
78 Cidr
79 IPv4Address
80 Maskable
81 Maskbits
82 Octet
83
84 build-depends:
85 base >= 4.15 && < 5.0,
86 split >= 0.2,
87 tasty >= 0.8,
88 tasty-hunit >= 0.8,
89 tasty-quickcheck >= 0.8.1
90
91
92 -- These won't work without shelltestrunner installed in your
93 -- $PATH. Maybe there is some way to tell Cabal that.
94 test-suite shelltests
95 type: exitcode-stdio-1.0
96 hs-source-dirs: test
97 default-language: Haskell2010
98 main-is: ShellTests.hs
99
100 build-depends:
101 base >= 4.15 && < 5.0,
102 process >= 1.1
103
104
105 source-repository head
106 type: git
107 location: https://gitweb.michael.orlitzky.com/hath.git
108 branch: master