name: HostAndPort version: 0.1.0 x-revision: 1 license: MIT license-file: LICENSE author: Slava Bacherikov maintainer: slava@bacher09.org homepage: https://github.com/bacher09/hostandport bug-reports: https://github.com/bacher09/hostandport/issues copyright: (c) Slava Bacherikov 2015 category: Network build-type: Simple cabal-version: >=1.10 synopsis: Parser host and port pairs like localhost:22 description: Simple parser for parsing host and port pairs. Host can be either ipv4, ipv6 or domain name and port are optional. . IPv6 address should be surrounded by square brackets. . Examples: . * localhost . * localhost:8080 . * 127.0.0.1 . * 127.0.0.1:8080 . * [::1] . * [::1]:8080 library exposed-modules: Network.HostAndPort build-depends: base >=4.5 && <5, parsec >=3.1 hs-source-dirs: src ghc-options: -O2 -funbox-strict-fields -Wall -fno-warn-name-shadowing default-language: Haskell2010 test-suite tests default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: tests main-is: Spec.hs ghc-options: -O2 -funbox-strict-fields -Wall -fno-warn-name-shadowing build-depends: base >=4.5 && <5, HostAndPort, hspec test-suite doctests default-language: Haskell2010 type: exitcode-stdio-1.0 hs-source-dirs: tests main-is: Doctests.hs ghc-options: -threaded build-depends: base >=4.5 && <5, HostAndPort, doctest source-repository head type: git location: https://github.com/bacher09/darkplaces-rcon.git