diff --git a/Grempa.cabal b/Grempa.cabal
--- a/Grempa.cabal
+++ b/Grempa.cabal
@@ -1,5 +1,5 @@
 Name:                Grempa
-Version:             0.2.0
+Version:             0.2.1
 Synopsis:            Embedded grammar DSL and LALR parser generator
 Description:
     A library for expressing programming language grammars in a form similar
@@ -38,11 +38,11 @@
       your grammars.
       Default: False
 Library
-    Build-depends:   array            == 0.3.*
-                   , base             == 4.2.* || == 4.3.*
-                   , containers       == 0.3.* || == 0.4.*
+    Build-depends:   array            >= 0.3 && < 0.5
+                   , base             >= 4.2 && < 5
+                   , containers       >= 0.3 && < 0.5
                    , mtl              == 2.0.*
-                   , template-haskell == 2.4.* || == 2.5.*
+                   , template-haskell >= 2.4 && < 2.8
                    , th-lift          == 0.5.*
     Exposed-modules: Data.Parser.Grempa.Grammar
                    , Data.Parser.Grempa.Static
