diff --git a/fuzzyfind.cabal b/fuzzyfind.cabal
--- a/fuzzyfind.cabal
+++ b/fuzzyfind.cabal
@@ -1,6 +1,6 @@
 cabal-version:       2.2
 name:                fuzzyfind
-version:             3.0.1
+version:             3.0.2
 license:             MIT
 license-file:        LICENSE
 author:        Rúnar Bjarnason
@@ -10,7 +10,7 @@
 bug-reports:   http://github.com/runarorama/fuzzyfind/issues
 copyright:     Copyright (C) 2021 Unison Computing
 build-type:    Simple
-tested-with:   GHC == 8.8.4, GHC == 8.10.4
+tested-with:   GHC == 8.8.4, GHC == 8.10.4, GHC == 9.8.2
 synopsis:      Fuzzy text matching
 description:   A package that provides an API for fuzzy text search in Haskell, using a modified version of the Smith-Waterman algorithm. The search is intended to behave similarly to the excellent fzf tool by Junegunn Choi.
 category:      Text
@@ -26,7 +26,7 @@
 library
   exposed-modules:     Text.FuzzyFind
   other-extensions:    DeriveGeneric, OverloadedLists, ScopedTypeVariables, ViewPatterns
-  build-depends:       base ==4.*, massiv ==0.6.* || ==1.0.*, containers ==0.6.*, text ==1.2.*
+  build-depends:       base ==4.*, massiv ==0.6.* || ==1.0.*, containers ==0.6.*, text ==1.2.* || ==2.*
   hs-source-dirs:      src
   default-language:    Haskell2010
 
@@ -38,8 +38,8 @@
   default-language:    Haskell2010
   build-depends:
     base ==4.*,
-    criterion ==1.5.*,
-    deepseq ==1.4.*,
+    criterion >=1.5 || <=1.6,
+    deepseq >=1.4 || <=1.5,
     fuzzyfind
 
 test-suite spec
@@ -50,7 +50,8 @@
   main-is: Spec.hs
   other-modules: FuzzyFindSpec
   build-depends: base == 4.*
-               , hspec == 2.7.*
+               , hspec >= 2.7 || <= 2.11
                , containers == 0.6.*
                , QuickCheck == 2.*
                , fuzzyfind
+  build-tool-depends: hspec-discover:hspec-discover
