diff --git a/Codec/Encryption/OpenPGP/Types/Internal/Base.hs b/Codec/Encryption/OpenPGP/Types/Internal/Base.hs
--- a/Codec/Encryption/OpenPGP/Types/Internal/Base.hs
+++ b/Codec/Encryption/OpenPGP/Types/Internal/Base.hs
@@ -46,6 +46,7 @@
 #endif
 import Data.Monoid ((<>))
 import Data.Ord (comparing)
+import Data.Semigroup (Semigroup)
 import Data.Set (Set)
 import qualified Data.Set as Set
 import Data.Text (Text)
@@ -868,7 +869,7 @@
 $(ATH.deriveJSON ATH.defaultOptions ''KeyVersion)
 
 newtype IV = IV {unIV :: B.ByteString}
-    deriving (ByteArrayAccess, Data, Eq, Generic, Hashable, Monoid, Show, Typeable)
+    deriving (ByteArrayAccess, Data, Eq, Generic, Hashable, Semigroup, Monoid, Show, Typeable)
 
 instance Newtype IV B.ByteString where
     pack = IV
diff --git a/hOpenPGP.cabal b/hOpenPGP.cabal
--- a/hOpenPGP.cabal
+++ b/hOpenPGP.cabal
@@ -1,5 +1,5 @@
 Name:                hOpenPGP
-Version:             2.6
+Version:             2.6.1
 Synopsis:            native Haskell implementation of OpenPGP (RFC4880)
 Description:         native Haskell implementation of OpenPGP (RFC4880), plus Camellia (RFC5581), plus ECC (RFC6637)
 Homepage:            https://salsa.debian.org/clint/hOpenPGP
@@ -206,7 +206,6 @@
                , data-default-class
                , errors
                , hashable
-               , incremental-parser
                , ixset-typed
                , lens                  >= 3.0
                , memory
@@ -229,6 +228,10 @@
     build-depends: network-uri >= 2.6
   else
     build-depends: network-uri < 2.6, network < 2.6
+  if !impl(ghc >= 8.4)
+    build-depends: incremental-parser < 0.3
+  else
+    build-depends: incremental-parser >= 0.3
   default-language: Haskell2010
 
 
@@ -340,4 +343,4 @@
 source-repository this
   type:     git
   location: https://salsa.debian.org/clint/hOpenPGP.git
-  tag:      v2.6
+  tag:      v2.6.1
