-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
hw-ip.cabal
139 lines (125 loc) · 6.12 KB
/
hw-ip.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
cabal-version: 2.4
name: hw-ip
version: 2.4.2.1
license: BSD-3-Clause
license-file: LICENSE
copyright: 2018-2022 John Ky
2019-2020 David Turnbull
2019-2020 Jian Wan
maintainer: [email protected]
author: John Ky, David Turnbull, Jian Wan
homepage: https://github.com/haskell-works/hw-ip#readme
bug-reports: https://github.com/haskell-works/hw-ip/issues
synopsis: Library for manipulating IP addresses and CIDR blocks
description: Library for manipulating IP addresses and CIDR blocks. Please see README.md
category: Network
tested-with: GHC == 9.2.2, GHC == 9.0.2, GHC == 8.10.7, GHC == 8.8.4, GHC == 8.6.5
build-type: Simple
extra-source-files: README.md
source-repository head
type: git
location: https://github.com/haskell-works/hw-ip
common base { build-depends: base >= 4.11 && < 5 }
common appar { build-depends: appar >= 0.1.8 && < 0.2 }
common binary { build-depends: binary >= 0.8 && < 0.9 }
common bytestring { build-depends: bytestring >= 0.10.6 && < 0.13 }
common containers { build-depends: containers >= 0.5 && < 0.8 }
common doctest { build-depends: doctest >= 0.16.2 && < 0.23 }
common doctest-discover { build-depends: doctest-discover >= 0.2 && < 0.3 }
common generic-lens { build-depends: generic-lens >= 2.2 && < 2.3 }
common hedgehog { build-depends: hedgehog >= 0.6 && < 2 }
common hspec { build-depends: hspec >= 2.4.4 && < 3 }
common hw-bits { build-depends: hw-bits >= 0.7 && < 0.8 }
common hw-hspec-hedgehog { build-depends: hw-hspec-hedgehog >= 0.1.0.2 && < 0.2 }
common iproute { build-depends: iproute >= 1.7.3 && < 1.8 }
common lens { build-depends: lens >= 4 && < 6 }
common optparse-applicative { build-depends: optparse-applicative >= 0.14 && < 0.19 }
common text { build-depends: text >= 1.2.3.1 && < 3 }
common config
default-language: Haskell2010
ghc-options: -Wall -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
common hw-ip
build-depends: hw-ip
common hw-ip-gen
build-depends: hw-ip-gen
library
import: base, config
, appar
, containers
, generic-lens
, hw-bits
, iproute
, text
exposed-modules: HaskellWorks.Data.Network.Ip.Internal.Appar
HaskellWorks.Data.Network.Ip.Ip
HaskellWorks.Data.Network.Ip.Ipv4
HaskellWorks.Data.Network.Ip.Ipv6
HaskellWorks.Data.Network.Ip.Range
HaskellWorks.Data.Network.Ip.SafeEnum
HaskellWorks.Data.Network.Ip.Validity
HaskellWorks.Data.Network.Ip.Word128
hs-source-dirs: src
other-modules: Paths_hw_ip
autogen-modules: Paths_hw_ip
executable hw-ip
import: base, config
, appar
, binary
, bytestring
, generic-lens
, hw-ip
, lens
, optparse-applicative
, text
other-modules: App.Commands
App.Commands.RangeStats
App.Commands.TextToWord
App.Commands.Types
main-is: Main.hs
hs-source-dirs: app
ghc-options: -threaded -rtsopts -with-rtsopts=-N
library hw-ip-gen
import: base, config
, hedgehog
, hw-bits
, hw-ip
, text
exposed-modules: HaskellWorks.Data.Network.Gen
hs-source-dirs: gen
test-suite hw-ip-test
import: base, config
, appar
, generic-lens
, hedgehog
, hspec
, hw-bits
, hw-hspec-hedgehog
, hw-ip
, text
other-modules: HaskellWorks.Data.Network.IpBlockSpec
HaskellWorks.Data.Network.IpSpec
HaskellWorks.Data.Network.Ipv4Spec
HaskellWorks.Data.Network.Ipv6Spec
HaskellWorks.Data.Network.RangeSpec
HaskellWorks.Data.Network.Unsafe
HaskellWorks.Data.Network.Word128Spec
-- Because stack can't generate haddock otherwise
HaskellWorks.Data.Network.Gen
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
-- Because stack can't generate haddock otherwise
, gen
ghc-options: -threaded -rtsopts -with-rtsopts=-N
build-tool-depends: hspec-discover:hspec-discover
test-suite doctest
import: base, config
, doctest
, doctest-discover
, hw-ip
default-language: Haskell2010
type: exitcode-stdio-1.0
ghc-options: -threaded -rtsopts -with-rtsopts=-N
main-is: DoctestDriver.hs
HS-Source-Dirs: doctest
build-tool-depends: doctest-discover:doctest-discover