diff --git a/Data/EnumMapSetWrapper.hs b/Data/EnumMapSetWrapper.hs
--- a/Data/EnumMapSetWrapper.hs
+++ b/Data/EnumMapSetWrapper.hs
@@ -34,7 +34,9 @@
 module Data.EnumMapSetWrapper (w, w') where
 
 import Prelude
+#if !MIN_VERSION_base(4,8,0)
 import Control.Applicative
+#endif
 import Control.Arrow
 import Data.List (nub)
 import Data.IntSet (IntSet)
@@ -225,7 +227,12 @@
         return [ inlineD size, SigD size t', ValD (VarP size) body [] ]
 #endif
     wrap subst name@(mkName . nameBase -> base) = do
-        VarI _name (pos ko -> (e, cxt', typ')) _dec _fixity <- reify name
+#if MIN_VERSION_template_haskell(2,11,0)
+        VarI _name (pos ko -> (e, cxt', typ')) _dec
+#else
+        VarI _name (pos ko -> (e, cxt', typ')) _dec _fixity
+#endif
+            <- reify name
         let ks = map PlainTV [ki, ko]
         let t' = (if subst then substT ko ki else id) $ case typ' of
                 ForallT tvs cxt t ->
diff --git a/enummapset-th.cabal b/enummapset-th.cabal
--- a/enummapset-th.cabal
+++ b/enummapset-th.cabal
@@ -1,5 +1,5 @@
 name:           enummapset-th
-version:        0.6.1.0
+version:        0.6.1.1
 synopsis:       TH-generated EnumSet/EnumMap wrappers around IntSet/IntMap.
 description:
   This package wraps @IntSet@ and @IntMap@ from @containers@, and provides
@@ -14,22 +14,22 @@
   Note that "Data.EnumMap.Lazy" and "Data.EnumMap.Strict" provide distinct
   newtype wrappers, and their respective 'Functor' instances behave as
   expected, unlike that of @IntMap@ which is alway lazy.
-homepage:       https://github.com/liyang/enummapset-th
+homepage:       https://github.com/tsurucapital/enummapset-th
 license:        BSD3
 license-file:   LICENSE
 author:         Liyang HU
 maintainer:     enummapset-th@liyang.hu
-copyright:      © 2013 Liyang HU
+copyright:      © 2013−2015 Liyang HU
 category:       Data
 build-type:     Simple
 cabal-version:  >= 1.8
-tested-with:    GHC == 7.8.3, GHC == 7.8.4, GHC == 7.10.2
+tested-with:    GHC == 7.8.3, GHC == 7.8.4, GHC == 7.10.2, GHC == 8.0.1
 extra-source-files:
     include/map.inc
 
 source-repository head
     type:       git
-    location:   http://github.com/liyang/enummapset-th
+    location:   https://github.com/tsurucapital/enummapset-th.git
 
 library
     exposed-modules:
