cabal-version: 2.4 name: hw-ip version: 2.4.2.1 x-revision: 2 license: BSD-3-Clause license-file: LICENSE copyright: 2018-2022 John Ky 2019-2020 David Turnbull 2019-2020 Jian Wan maintainer: newhoggy@gmail.com 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 && < 1.5 } 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