diff --git a/gi-vte.cabal b/gi-vte.cabal
--- a/gi-vte.cabal
+++ b/gi-vte.cabal
@@ -1,5 +1,5 @@
 name:                 gi-vte
-version:              2.91.7
+version:              2.91.8
 synopsis:             Vte bindings
 description:          Bindings for Vte, autogenerated by haskell-gi.
 homepage:             https://github.com/haskell-gi/haskell-gi
@@ -9,14 +9,9 @@
 maintainer:           Iñaki García Etxebarria (garetxe@gmail.com)
 category:             Bindings
 build-type:           Custom
-cabal-version:        >= 1.24
-
-extra-source-files: Vte.overrides
+cabal-version:        >= 1.22
 
-custom-setup
-      setup-depends: base >= 4.7 && < 5,
-                     Cabal >= 1.24,
-                     haskell-gi >= 0.18 && < 1
+extra-source-files: stack.yaml Vte.overrides
 
 Flag overloaded-methods
       Description: Generate support for overloaded methods.
@@ -35,7 +30,8 @@
 
       pkgconfig-depends: vte-2.91
       build-depends: base >= 4.7 && <5,
-                     haskell-gi-base >= 0.18 && < 1,
+                     haskell-gi-base >= 0.20 && < 1,
+                     haskell-gi >= 0.20 && < 1,
                      gi-pango == 1.0.*,
                      gi-gtk == 3.0.*,
                      gi-gio == 2.0.*,
diff --git a/stack.yaml b/stack.yaml
new file mode 100644
--- /dev/null
+++ b/stack.yaml
@@ -0,0 +1,8 @@
+packages:
+- '.'
+extra-deps:
+- 'haskell-gi-0.20'
+- 'haskell-gi-base-0.20'
+explicit-setup-deps:
+  ! '*': true
+resolver: lts-7.11
