diff --git a/doctest/DocTest.hs b/doctest/DocTest.hs
new file mode 100644
--- /dev/null
+++ b/doctest/DocTest.hs
@@ -0,0 +1,4 @@
+import Test.DocTest
+
+main :: IO ()
+main = doctest ["-isrc", "src", "-XTypeApplications"]
diff --git a/genvalidity-hspec-cereal.cabal b/genvalidity-hspec-cereal.cabal
--- a/genvalidity-hspec-cereal.cabal
+++ b/genvalidity-hspec-cereal.cabal
@@ -1,57 +1,73 @@
-name: genvalidity-hspec-cereal
-version: 0.1.0.0
-cabal-version: >=1.10
-build-type: Simple
-license: MIT
-license-file: LICENSE
-copyright: Copyright: (c) 2016 Tom Sydney Kerckhove
-maintainer: syd.kerckhove@gmail.com
-homepage: http://cs-syd.eu
-synopsis: Standard spec's for cereal-related instances
-description:
-    Standard spec's for cereal-related Instances
-category: Testing
-author: Tom Sydney Kerckhove
+-- This file has been generated from package.yaml by hpack version 0.20.0.
+--
+-- see: https://github.com/sol/hpack
+--
+-- hash: 57452e6e997fb6d6228f286acb399858afb096753b73ac5a4285e96ded3b4ead
 
+name:           genvalidity-hspec-cereal
+version:        0.2.0.0
+synopsis:       Standard spec's for cereal-related instances
+description:    Standard spec's for cereal-related Instances
+category:       Testing
+homepage:       http://cs-syd.eu
+bug-reports:    https://github.com/NorfairKing/validity/issues
+author:         Tom Sydney Kerckhove
+maintainer:     syd.kerckhove@gmail.com
+copyright:      Copyright: (c) 2016-2018 Tom Sydney Kerckhove
+license:        MIT
+license-file:   LICENSE
+build-type:     Simple
+cabal-version:  >= 1.10
+
 source-repository head
-    type: git
-    location: https://github.com/NorfairKing/validity
+  type: git
+  location: https://github.com/NorfairKing/validity
 
 library
-    exposed-modules:
-        Test.Validity.Cereal
-    build-depends:
-        base >=4.9 && <=5,
-        genvalidity-hspec >=0.5 && <0.6,
-        genvalidity >=0.4 && <0.5,
-        hspec -any,
-        cereal >=0.5 && <0.6,
-        QuickCheck -any,
-        deepseq >=1.4 && <1.5
-    default-language: Haskell2010
-    hs-source-dirs: src/
-    ghc-options: -Wall
+  hs-source-dirs:
+      src/
+  ghc-options: -Wall
+  build-depends:
+      QuickCheck
+    , base >=4.9 && <=5
+    , cereal
+    , deepseq
+    , genvalidity >=0.5 && <0.6
+    , genvalidity-hspec >=0.6 && <0.7
+    , hspec
+  exposed-modules:
+      Test.Validity.Cereal
+  other-modules:
+      Paths_genvalidity_hspec_cereal
+  default-language: Haskell2010
 
 test-suite genvalidity-hspec-cereal-doctests
-    type: exitcode-stdio-1.0
-    main-is: DocTest.hs
-    build-depends:
-        base -any,
-        doctest >=0.11 && <0.12,
-        genvalidity-hspec-cereal -any
-    default-language: Haskell2010
-    hs-source-dirs: test
-    ghc-options: -threaded
+  type: exitcode-stdio-1.0
+  main-is: DocTest.hs
+  hs-source-dirs:
+      doctest
+  ghc-options: -threaded
+  build-depends:
+      base
+    , doctest
+    , genvalidity-hspec-cereal
+    , hspec
+  other-modules:
+      Paths_genvalidity_hspec_cereal
+  default-language: Haskell2010
+
 test-suite genvalidity-hspec-cereal-test
-    type: exitcode-stdio-1.0
-    main-is: Spec.hs
-    build-depends:
-        base -any,
-        genvalidity -any,
-        genvalidity-hspec-cereal -any,
-        hspec -any
-    default-language: Haskell2010
-    hs-source-dirs: test/
-    other-modules:
-        Test.Validity.CerealSpec
-    ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
+  type: exitcode-stdio-1.0
+  main-is: Spec.hs
+  hs-source-dirs:
+      test/
+  ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
+  build-depends:
+      base
+    , genvalidity
+    , genvalidity-hspec-cereal
+    , hspec
+  other-modules:
+      Test.Validity.CerealSpec
+      Paths_genvalidity_hspec_cereal
+  default-language: Haskell2010
diff --git a/test/DocTest.hs b/test/DocTest.hs
deleted file mode 100644
--- a/test/DocTest.hs
+++ /dev/null
@@ -1,4 +0,0 @@
-import Test.DocTest
-
-main :: IO ()
-main = doctest ["-isrc", "src", "-XTypeApplications"]
