diff --git a/README.md b/README.md
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
 # Documentation
 Autogenerated documentation for this package can be found at
 
-[https://hackage.haskell.org/package/gi-dbusmenugtk3-0.4.1/docs/GI-DbusmenuGtk3.html](https://hackage.haskell.org/package/gi-dbusmenugtk3-0.4.1/docs/GI-DbusmenuGtk3.html)
+[https://hackage.haskell.org/package/gi-dbusmenugtk3-0.4.2/docs/GI-DbusmenuGtk3.html](https://hackage.haskell.org/package/gi-dbusmenugtk3-0.4.2/docs/GI-DbusmenuGtk3.html)
 
 For general documentation on using [haskell-gi](https://github.com/haskell-gi/haskell-gi) based bindings, see [the project page](https://github.com/haskell-gi/haskell-gi) or [the Wiki](https://github.com/haskell-gi/haskell-gi/wiki).
diff --git a/gi-dbusmenugtk3.cabal b/gi-dbusmenugtk3.cabal
--- a/gi-dbusmenugtk3.cabal
+++ b/gi-dbusmenugtk3.cabal
@@ -1,5 +1,5 @@
 name:                 gi-dbusmenugtk3
-version:              0.4.1
+version:              0.4.2
 synopsis:             DbusmenuGtk bindings
 description:          Bindings for libdbusgtk3, autogenerated by haskell-gi.
 homepage:             https://github.com/haskell-gi/haskell-gi
@@ -9,14 +9,14 @@
 maintainer:           Iñaki García Etxebarria (garetxe@gmail.com)
 category:             Bindings
 build-type:           Custom
-cabal-version:        >= 1.24
+cabal-version:        1.24
 
 extra-source-files: README.md ChangeLog.md stack.yaml DbusmenuGtk3.overrides
 
 custom-setup
       setup-depends: base >= 4.7 && < 5,
                      Cabal >= 1.24,
-                     haskell-gi == 0.21.*
+                     haskell-gi >= 0.21.1 && < 0.22
 
 library
       default-language: Haskell2010
@@ -24,10 +24,10 @@
       other-extensions: PatternSynonyms, ViewPatterns
       ghc-options: -fno-warn-unused-imports -fno-warn-warnings-deprecations
 
-      pkgconfig-depends: dbusmenu-gtk3-0.4
+      pkgconfig-depends: dbusmenu-gtk3-0.4, gtk+-3.0
       build-depends: base >= 4.7 && <5,
                      haskell-gi-base == 0.21.*,
-                     haskell-gi == 0.21.*,
+                     haskell-gi >= 0.21.1 && < 0.22,
                      haskell-gi-overloading < 1.1,
                      gi-glib == 2.0.*,
                      gi-gobject == 2.0.*,
