network/network-uri split (again)

This commit is contained in:
Michael Snoyman 2014-08-16 23:05:10 +03:00
parent a2d118e236
commit 63e7cd8e2f

View File

@ -1,5 +1,5 @@
name: yesod-auth name: yesod-auth
version: 1.3.4 version: 1.3.4.1
license: MIT license: MIT
license-file: LICENSE license-file: LICENSE
author: Michael Snoyman, Patrick Brisbin author: Michael Snoyman, Patrick Brisbin
@ -20,6 +20,10 @@ description:
* <https://github.com/ollieh/yesod-auth-bcrypt/>: An alternative to the HashDB module. * <https://github.com/ollieh/yesod-auth-bcrypt/>: An alternative to the HashDB module.
extra-source-files: persona_sign_in_blue.png extra-source-files: persona_sign_in_blue.png
flag network-uri
description: Get Network.URI from the network-uri package
default: True
library library
build-depends: base >= 4 && < 5 build-depends: base >= 4 && < 5
, authenticate >= 1.3 , authenticate >= 1.3
@ -48,7 +52,6 @@ library
, lifted-base >= 0.1 , lifted-base >= 0.1
, blaze-html >= 0.5 , blaze-html >= 0.5
, blaze-markup >= 0.5.1 , blaze-markup >= 0.5.1
, network
, http-types , http-types
, file-embed , file-embed
, email-validate >= 1.0 , email-validate >= 1.0
@ -65,6 +68,11 @@ library
, conduit-extra , conduit-extra
, attoparsec-conduit , attoparsec-conduit
if flag(network-uri)
build-depends: network-uri >= 2.6
else
build-depends: network < 2.6
exposed-modules: Yesod.Auth exposed-modules: Yesod.Auth
Yesod.Auth.BrowserId Yesod.Auth.BrowserId
Yesod.Auth.Dummy Yesod.Auth.Dummy