From 63e7cd8e2f862cc55fa0b4bab164722e9ed41d69 Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Sat, 16 Aug 2014 23:05:10 +0300 Subject: [PATCH] network/network-uri split (again) --- yesod-auth/yesod-auth.cabal | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/yesod-auth/yesod-auth.cabal b/yesod-auth/yesod-auth.cabal index 7edeba7b..b6d6922d 100644 --- a/yesod-auth/yesod-auth.cabal +++ b/yesod-auth/yesod-auth.cabal @@ -1,5 +1,5 @@ name: yesod-auth -version: 1.3.4 +version: 1.3.4.1 license: MIT license-file: LICENSE author: Michael Snoyman, Patrick Brisbin @@ -20,6 +20,10 @@ description: * : An alternative to the HashDB module. extra-source-files: persona_sign_in_blue.png +flag network-uri + description: Get Network.URI from the network-uri package + default: True + library build-depends: base >= 4 && < 5 , authenticate >= 1.3 @@ -48,7 +52,6 @@ library , lifted-base >= 0.1 , blaze-html >= 0.5 , blaze-markup >= 0.5.1 - , network , http-types , file-embed , email-validate >= 1.0 @@ -65,6 +68,11 @@ library , conduit-extra , attoparsec-conduit + if flag(network-uri) + build-depends: network-uri >= 2.6 + else + build-depends: network < 2.6 + exposed-modules: Yesod.Auth Yesod.Auth.BrowserId Yesod.Auth.Dummy