diff --git a/yesod-auth-oauth2.cabal b/yesod-auth-oauth2.cabal index 4250d32..aef15aa 100644 --- a/yesod-auth-oauth2.cabal +++ b/yesod-auth-oauth2.cabal @@ -14,7 +14,16 @@ homepage: http://github.com/scan/yesod-auth-oauth2 flag ghc7 +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 + else + build-depends: network < 2.6 + if flag(ghc7) build-depends: base >= 4.3 && < 5 cpp-options: -DGHC7 @@ -26,6 +35,7 @@ library , http-types >= 0.8 && < 0.9 , aeson >= 0.6 && < 0.8 , yesod-core >= 1.2 && < 1.4 + , authenticate >= 1.3.2.7 && < 1.4 , yesod-auth >= 1.3 && < 1.4 , text >= 0.7 && < 2.0 , yesod-form >= 1.3 && < 1.4