diff --git a/ChangeLog b/ChangeLog
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+version 0.3.4:
+  - Change template-haskell dependency to allow building with ghc-7.4.1.
+
+version 0.3.3:
+  - Change template-haskell dependency to allow building with ghc-7.2.1.
+
 version 0.3.2:
   - Add missing S case to eq.
 
diff --git a/regular.cabal b/regular.cabal
--- a/regular.cabal
+++ b/regular.cabal
@@ -1,5 +1,5 @@
 name:                   regular
-version:                0.3.3
+version:                0.3.4
 synopsis:               Generic programming library for regular datatypes.
 description:
 
@@ -28,12 +28,16 @@
 maintainer:             generics@haskell.org
 stability:              experimental
 build-type:             Custom
-cabal-version:          >= 1.2.1
+cabal-version:          >= 1.6
 tested-with:            GHC == 6.10.4, GHC == 6.12.1, GHC == 7.0.1, GHC == 7.2.1
 extra-source-files:     examples/Test.hs
                         ChangeLog
                         CREDITS
 
+source-repository head
+  type: svn
+  location: https://subversion.cs.uu.nl/repos/project.dgp-haskell.libraries/regular/trunk/
+
 library
   hs-source-dirs:       src
   exposed-modules:      Generics.Regular
@@ -55,7 +59,7 @@
                         
   build-depends:        base >= 4.0 && < 5
   if impl(ghc >= 6.12)
-    build-depends:      template-haskell >=2.4 && <2.7
+    build-depends:      template-haskell >=2.4 && <2.8
     cpp-options:          -DTH_TYVARBNDR
   else
     build-depends:      template-haskell >= 2.2 && < 2.4
