hostaddress: Network Host Addresses

[ library, mit, network ] [ Propose Tags ]

Host addresses as described in RFC2396 section 3.2.2 with additional consideration of

  • RFC1123 (additional restrictions for hostnames),

  • RFC1034 (disambiguate domain names and IPv4 addresses),

  • RFC4291 (parsing of IPv6 addresses), and

  • RFC3986 and RFC5952 (IPv6 literals within host addresses).


[Skip to Readme]

Flags

Manual Flags

NameDescriptionDefault
with-configuration-tools

add support functions and instances for configuration-tools

Disabled
with-aeson

generate ToJSON and FromJSON instances

Disabled
with-quickcheck

include functions for generating arbitrary values and generate Arbitrary instances

Disabled

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1.0.0, 0.2.0.0
Change log CHANGELOG.md
Dependencies attoparsec (>=0.13), base (>=4.10 && <4.15), bytestring (>=0.10), case-insensitive (>=1.2), deepseq (>=1.4), exceptions (>=0.10), hashable (>=1.2), iproute (>=1.7), microlens-th (>=0.4), text (>=1.2) [details]
License MIT
Copyright Copyright (c) 2020, Lars Kuhtz <lakuhtz@gmail.com>
Author Lars Kuhtz
Maintainer Lars Kuhtz <lakuhtz@gmail.com>
Revised Revision 1 made by larsk at 2020-02-13T20:54:31Z
Category Data
Home page https://github.com/larskuhtz/hostaddress
Bug tracker https://github.com/larskuhtz/hostaddress/issues
Source repo head: git clone https://github.com/larskuhtz/hostaddress.git
Uploaded by larsk at 2020-02-13T08:54:18Z
Distributions NixOS:0.2.0.0
Downloads 854 total (14 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2020-02-13 [all 1 reports]

Readme for hostaddress-0.1.0.0

[back to package description]

Cabal Build

Haskell Tools for Host Addresses

This package implements Host addresses as described in RFC2396 section 3.2.2 with additional consideration of

  • RFC1123 (additional restrictions for hostnames),
  • RFC1034 (disambiguate domain names and IPv4 addresses),
  • RFC4291 (parsing of IPv6 addresses), and
  • RFC3986 and RFC5952 (IPv6 literals within host addresses).

Build from Source

cabal v2-build

The following optional build flags are available:

  • -fwith-aeson: build ToJSON and FromJSON instance for use with aeson.

  • -fwith-configuration-tools: build instances and functions for supporting the use with configuration-tools.

  • -fwith-quickcheck: include function for generating arbitrary values and Arbitrary instance for use with QuickCheck.

Documentation

Documentation is available at https://hackage.haskell.org/package/hostaddress/.