network-uri-flag: Pseudo-package encapsulating flag(network-uri) Cabal boilerplate
This empty package does not provide any modules; its sole purpose is to
network-uri Cabal flag logic below so you don't have to include
that boilerplate in your
flag network-uri description: Get Network.URI from the network-uri package default: True library if flag(network-uri) build-depends: network-uri >= 2.6, network >= 2.6 else build-depends: network-uri < 2.6, network < 2.6
This avoids combining
network-uri >= 2.6 with
network < 2.6 which both export a
Network.URI module, because
in network-2.6 the
Network.URI module was split off from the
network package into network-uri-2.6.
In other words, the logic above makes sure that the
is provided by either
network-uri or by
(in the XOR sense).
In order to benefit from this module, simply include it in your
build-depends declaration alongside
build-depends: network >= 2.5 && < 2.7, network-uri >= 2.5 && < 2.7, network-uri-flag == 0.1.*
NOTE: It's almost always an error to list this package if network and network-uri aren't both listed as well!
Get Network.URI from the network-uri package
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
- network-uri-flag-0.1.tar.gz [browse] (Cabal source package)
- Package description (revised from the package)
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'.
|Dependencies||network, network-uri [details]|
|Author||Herbert Valerio Riedel|
|Revised||Revision 2 made by HerbertValerioRiedel at 2016-08-27T08:46:34Z|
|Uploaded||by HerbertValerioRiedel at 2016-08-27T08:44:41Z|
|Downloads||1549 total (3 in the last 30 days)|
|Rating||(no votes yet) [estimated by Bayesian average]|
|Status||Docs not available [build log]
Last success reported on 2016-11-20 [all 1 reports]