diff --git a/hsimport.cabal b/hsimport.cabal
--- a/hsimport.cabal
+++ b/hsimport.cabal
@@ -1,5 +1,5 @@
 name: hsimport
-version: 0.6.5
+version: 0.6.6
 cabal-version: >=1.9.2
 build-type: Simple
 license: BSD3
@@ -17,31 +17,29 @@
     tests/inputFiles/*.hs
     tests/goldenFiles/*.hs
     tests/outputFiles/.gitignore
- 
+
 source-repository head
     type: git
     location: https://github.com/dan-t/hsimport
- 
+
 library
+    exposed-modules:
+        HsImport
+        HsImport.Main
+        HsImport.Config
+        HsImport.Args
+        HsImport.ImportPos
     build-depends:
         base >=3 && <5,
         cmdargs >=0.10.5 && <0.11,
         haskell-src-exts >=1.16.0 && <1.17,
-        lens >=3.9.2 && <4.9,
+        lens >=3.9.2 && <4.14,
         mtl >=2.1.2 && <2.3,
         text >=0.11.3.1 && <1.3,
         split >=0.2.2 && <0.3,
-        attoparsec >=0.10.4.0 && <0.13,
+        attoparsec >=0.10.4.0 && <0.14,
         directory >=1.2.0.1 && <1.3,
         dyre ==0.8.*
-    exposed-modules:
-        HsImport
-        HsImport.Main
-        HsImport.Config
-        HsImport.Args
-        HsImport.ImportPos
-    exposed: True
-    buildable: True
     cpp-options: -DCABAL
     hs-source-dirs: lib
     other-modules:
@@ -54,29 +52,26 @@
         HsImport.Utils
         Paths_hsimport
     ghc-options: -W
- 
+
 executable hsimport
+    main-is: Main.hs
     build-depends:
         base >=3 && <5,
         hsimport -any
-    main-is: Main.hs
-    buildable: True
     cpp-options: -DCABAL
     hs-source-dirs: exe
     ghc-prof-options: -prof -fprof-auto -rtsopts
     ghc-options: -W
- 
+
 test-suite hsimport-tests
+    type: exitcode-stdio-1.0
+    main-is: Main.hs
     build-depends:
         base >=3 && <5,
-        tasty >=0.9.0.1 && <0.11,
-        tasty-golden >=2.2.0.1 && <2.3,
+        tasty >=0.9.0.1 && <0.12,
+        tasty-golden >=2.2.0.1 && <2.4,
         filepath >=1.3.0.1 && <1.5,
         haskell-src-exts >=1.16.0 && <1.17,
         hsimport -any
-    type: exitcode-stdio-1.0
-    main-is: Main.hs
-    buildable: True
     hs-source-dirs: tests
     ghc-options: -W
- 
