diff --git a/oauthenticated.cabal b/oauthenticated.cabal
--- a/oauthenticated.cabal
+++ b/oauthenticated.cabal
@@ -1,5 +1,5 @@
 name:                oauthenticated
-version:             0.1.3.3
+version:             0.1.3.4
 synopsis:            Simple OAuth for http-client
 
 description:         
@@ -40,6 +40,10 @@
 build-type:          Simple
 cabal-version:       >=1.10
 
+flag network-uri
+  description: Get Network.URI from the network-uri package
+  default: True
+
 library
   exposed-modules:
     Network.OAuth
@@ -64,10 +68,15 @@
                      , http-client         >= 0.2.0
                      , http-types          >= 0.8
                      , mtl                 >= 2.0
-                     , network-uri         >= 2.6
                      , time                >= 1.2
-                     , text                >= 0.11     && < 1.2
+                     , text                >= 0.11     && < 1.3
                      , transformers
+
+  if flag(network-uri)
+    build-depends: network-uri >= 2.6, network >= 2.6
+  else
+    build-depends: network-uri < 2.6 , network < 2.6
+
 
   hs-source-dirs:      src         
   ghc-options:         -Wall
