The network-uri package

[ Tags: bsd3, library, network ] [ Propose Tags ]

This package provides facilities for parsing and unparsing URIs, and creating and resolving relative URI references, closely following the URI spec, IETF RFC 3986.


In network-2.6 the Network.URI module was split off from the network package into this package. If you're using the Network.URI module you can be backward compatible and automatically get it from the right package by using the network-uri-flag pseudo-package in your .cabal file's build-depends (along with dependencies for both network-uri and network):

    network-uri-flag == 0.1.*

Or you can do the same manually by adding this boilerplate to your .cabal file:

flag network-uri
  description: Get Network.URI from the network-uri package
  default: True

  -- ...
  if flag(network-uri)
    build-depends: network-uri >= 2.6, network >= 2.6
    build-depends: network-uri < 2.6, network < 2.6

That is, get the module from either network < 2.6 or from network-uri >= 2.6.


Dependencies base (>=3 && <5), deepseq (>=1.1 && <1.5), parsec (>=3.0 && <3.2) [details]
License BSD3
Category Network
Home page
Bug tracker
Source repo head: git clone git://
Uploaded Sat Mar 19 21:12:16 UTC 2016 by EzraCooper
Updated Thu Jun 8 08:12:39 UTC 2017 by HerbertValerioRiedel to revision 1   [What is this?]
Distributions Arch:, Debian:, Fedora:, FreeBSD:, LTSHaskell:, NixOS:, Stackage:, openSUSE:
Downloads 127155 total (263 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2016-03-19 [all 1 reports]
Hackage Matrix CI




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

For package maintainers and hackage trustees