diff --git a/aeson-pretty.cabal b/aeson-pretty.cabal
--- a/aeson-pretty.cabal
+++ b/aeson-pretty.cabal
@@ -1,5 +1,5 @@
 name:           aeson-pretty
-version:        0.5.1
+version:        0.5.2
 license:        BSD3
 license-file:   LICENSE
 category:       Text, Web, JSON, Pretty Printer
@@ -42,7 +42,7 @@
         buildable: False
     else
         build-depends:
-            aeson >= 0.5 || == 0.6.*,
+            aeson >= 0.5 && < 0.7,
             attoparsec == 0.10.*,
             base == 4.*,
             bytestring == 0.9.*,
