diff --git a/emailparse.cabal b/emailparse.cabal
--- a/emailparse.cabal
+++ b/emailparse.cabal
@@ -2,9 +2,9 @@
 -- documentation, see http://haskell.org/cabal/users-guide/
 
 name:                emailparse
-version:             0.2.0.6
+version:             0.2.0.7
 synopsis:            An email parser that will parse everything
--- description:
+--description:        
 license:             BSD3
 license-file:        LICENSE
 author:              Michal Kawalec
@@ -14,6 +14,9 @@
 build-type:          Simple
 -- extra-source-files:
 cabal-version:       >=1.10
+source-repository head
+  type: git
+  location: https://github.com/mkawalec/emailparse
 
 library
   exposed-modules:     Network.Mail.Parse
@@ -28,22 +31,22 @@
                        Network.Mail.Parse.Parsers.Utils
   -- other-modules:
   -- other-extensions:
-  build-depends:       base >=4.8 && <4.9,
+  build-depends:       base >=4.9 && <4.10,
                        bytestring == 0.10.*,
                        attoparsec == 0.13.*,
                        word8 == 0.1.*,
                        text == 1.2.*,
                        mime == 0.4.*,
-                       MissingH == 1.3.*,
+                       MissingH == 1.4.*,
                        either == 4.4.*,
                        text-icu == 0.7.*,
-                       time == 1.5.*,
+                       time == 1.6.*,
                        strptime == 1.0.*,
                        either-unwrap == 1.1.*
   hs-source-dirs:      src
   c-sources:           csrc/codec.c
   include-dirs:        csrc
-  cc-options:          -fPIC -Wall -Wextra -O2
+  cc-options:          -fPIC -Wall -Wextra
   default-language:    Haskell2010
   ghc-options:         -Wall -fno-warn-unused-do-bind
   default-extensions:  OverloadedStrings,
@@ -61,28 +64,28 @@
   type: exitcode-stdio-1.0
   main-is: main.hs
   hs-source-dirs: test, src
-  build-depends:       base >=4.8 && <4.9,
+  build-depends:       base >=4.9 && <4.10,
                        bytestring == 0.10.*,
                        attoparsec == 0.13.*,
                        word8 == 0.1.*,
                        text == 1.2.*,
                        mime == 0.4.*,
-                       MissingH == 1.3.*,
+                       MissingH == 1.4.*,
                        either == 4.4.*,
                        text-icu == 0.7.*,
-                       time == 1.5.*,
+                       time == 1.6.*,
                        strptime == 1.0.*,
                        either-unwrap == 1.1.*,
 
                        tasty == 0.11.*,
-                       HUnit == 1.3.*,
-                       QuickCheck == 2.8.*,
+                       HUnit == 1.5.*,
+                       QuickCheck == 2.9.*,
                        tasty-hunit == 0.9.*,
                        tasty-quickcheck == 0.8.*,
                        mtl == 2.2.*
   c-sources:           csrc/codec.c
   include-dirs:        csrc
-  cc-options:          -fPIC -Wall -Wextra -O2
+  cc-options:          -fPIC -Wall -Wextra
   default-language:    Haskell2010
   default-extensions:  OverloadedStrings,
                        GeneralizedNewtypeDeriving,
@@ -90,6 +93,7 @@
                        ScopedTypeVariables,
                        TypeSynonymInstances,
                        DeriveFunctor,
+                       DeriveGeneric,
                        FlexibleInstances,
                        TemplateHaskell,
                        LambdaCase
