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-hashable.cabal b/genvalidity-hspec-hashable.cabal
--- a/genvalidity-hspec-hashable.cabal
+++ b/genvalidity-hspec-hashable.cabal
@@ -1,65 +1,81 @@
-name: genvalidity-hspec-hashable
-version: 0.1.0.0
-cabal-version: >=1.10
-build-type: Simple
-license: MIT
-license-file: LICENSE
-copyright: 2017 Tom Sydney Kerckhove
-maintainer: syd.kerckhove@gmail.com
-homepage: https://github.com/NorfairKing/validity
-synopsis: Standard spec's for Hashable instances
-description:
-    Standard spec's for Hashable instances
-category: Testing
-author: Nick Van den Broeck
+-- This file has been generated from package.yaml by hpack version 0.20.0.
+--
+-- see: https://github.com/sol/hpack
+--
+-- hash: 3f73d46a461d2e2533b781d9890dc19ccfebde8431751048a164458c13f7bf37
+
+name:           genvalidity-hspec-hashable
+version:        0.2.0.0
+synopsis:       Standard spec's for Hashable instances
+description:    Standard spec's for Hashable instances
+category:       Testing
+homepage:       https://github.com/NorfairKing/validity#readme
+bug-reports:    https://github.com/NorfairKing/validity/issues
+author:         Nick Van den Broeck
+maintainer:     syd.kerckhove@gmail.com
+copyright:      2017-2018 Tom Sydney Kerckhove
+license:        MIT
+license-file:   LICENSE
+build-type:     Simple
+cabal-version:  >= 1.10
+
 extra-source-files:
     README.md
 
 source-repository head
-    type: git
-    location: https://github.com/NorfairKing/validity
+  type: git
+  location: https://github.com/NorfairKing/validity
 
 library
-    exposed-modules:
-        Test.Validity.Hashable
-    build-depends:
-        base >=4.9 && <5,
-        validity >=0.4 && <0.5,
-        genvalidity-hspec >=0.5 && <0.6,
-        genvalidity >=0.4 && <0.5,
-        genvalidity-property >=0.1 && <0.2,
-        hspec >=2.2 && <2.5,
-        hashable >=1.2 && <1.3,
-        QuickCheck -any
-    default-language: Haskell2010
-    hs-source-dirs: src
+  hs-source-dirs:
+      src
+  build-depends:
+      QuickCheck
+    , base >=4.9 && <5
+    , genvalidity >=0.5 && <0.6
+    , genvalidity-hspec >=0.6 && <0.7
+    , genvalidity-property >=0.2 && <0.3
+    , hashable >=1.2 && <1.3
+    , hspec
+    , validity >=0.5 && <0.6
+  exposed-modules:
+      Test.Validity.Hashable
+  other-modules:
+      Paths_genvalidity_hspec_hashable
+  default-language: Haskell2010
 
 test-suite genvalidity-hspec-hashable-doctests
-    type: exitcode-stdio-1.0
-    main-is: DocTest.hs
-    build-depends:
-        base -any,
-        doctest >=0.11 && <0.12,
-        hashable >=1.2 && <1.3,
-        genvalidity-hspec-hashable -any,
-        QuickCheck -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:
+      QuickCheck
+    , base
+    , doctest
+    , genvalidity-hspec-hashable
+    , hashable >=1.2 && <1.3
+  other-modules:
+      Paths_genvalidity_hspec_hashable
+  default-language: Haskell2010
+
 test-suite genvalidity-hspec-hashable-test
-    type: exitcode-stdio-1.0
-    main-is: Spec.hs
-    build-depends:
-        base -any,
-        genvalidity -any,
-        genvalidity-hspec -any,
-        genvalidity-hspec-hashable -any,
-        hashable -any,
-        hspec -any,
-        hspec-core -any,
-        QuickCheck -any
-    default-language: Haskell2010
-    hs-source-dirs: test/
-    other-modules:
-        Test.Validity.HashableSpec
-    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:
+      QuickCheck
+    , base
+    , genvalidity
+    , genvalidity-hspec
+    , genvalidity-hspec-hashable
+    , hashable
+    , hspec
+    , hspec-core
+  other-modules:
+      Test.Validity.HashableSpec
+      Paths_genvalidity_hspec_hashable
+  default-language: Haskell2010
diff --git a/src/Test/Validity/Hashable.hs b/src/Test/Validity/Hashable.hs
--- a/src/Test/Validity/Hashable.hs
+++ b/src/Test/Validity/Hashable.hs
@@ -99,9 +99,9 @@
                      , genname
                      , name
                      ]) $
-            let ss (a,b) = (,) <$> s a <*> s b
-            in forAllShrink gen ss $ \(a1, a2) ->
-                forAllUnchecked $ \int ->
-                    when (a1 == a2) $
-                    let h = hashWithSalt int
-                    in h a1 `shouldBe` h a2
+            let ss (a, b) = (,) <$> s a <*> s b
+             in forAllShrink gen ss $ \(a1, a2) ->
+                    forAllUnchecked $ \int ->
+                        when (a1 == a2) $
+                        let h = hashWithSalt int
+                         in h a1 `shouldBe` h a2
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"]
