HostAndPort-0.2.0: HostAndPort.cabal
name: HostAndPort
version: 0.2.0
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
tested-with: GHC == 7.4, GHC == 7.6, GHC == 7.8, GHC == 7.10
extra-source-files: README.md
synopsis: Parser for 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: Haskell98
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: Haskell98
type: exitcode-stdio-1.0
hs-source-dirs: tests
main-is: Doctests.hs
ghc-options: -threaded
build-depends: base >=4.5 && <5,
HostAndPort,
doctest
benchmark bench-hostandport
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: Benchmark.hs
ghc-options: -O2 -Wall -fno-warn-name-shadowing
default-language: Haskell98
build-depends: base >=4.5 && <5,
HostAndPort,
criterion
source-repository head
type: git
location: https://github.com/bacher09/darkplaces-rcon.git