diff --git a/happstack-hamlet.cabal b/happstack-hamlet.cabal
--- a/happstack-hamlet.cabal
+++ b/happstack-hamlet.cabal
@@ -1,5 +1,5 @@
 Name:                happstack-hamlet
-Version:             7.0.3
+Version:             7.0.4
 Synopsis:            Support for Hamlet HTML templates in Happstack
 
 Description:         Happstack is a web application development framework.
@@ -24,9 +24,9 @@
 
 Library
   Exposed-modules:     Happstack.Server.Hamlet
-  Build-depends:       base >= 3 && <5,
+  Build-depends:       base             >= 3   && < 5,
                        happstack-server >= 6.0 && < 7.4,
-                       hamlet >= 0.10 && <1.2,
+                       shakespeare      >= 2.0 && < 2.1,
                        text
 
   -- Modules not exported by this package.
