diff --git a/haste-gapi.cabal b/haste-gapi.cabal
--- a/haste-gapi.cabal
+++ b/haste-gapi.cabal
@@ -5,7 +5,7 @@
 -- PVP summary:      +-+------- breaking API changes
 --                   | | +----- non-breaking API additions
 --                   | | | +--- code changes with no API change
-version:             0.1.0.0
+version:             0.1.0.1
 synopsis:            Google API bindings for the Haste compiler
 -- A longer description of the package.
 description:         This is a library to make use of the Google API Client
@@ -24,15 +24,18 @@
 license-file:        LICENSE
 author:              Jonathan Skårstedt
 maintainer:          jonathan.skarstedt@gmail.com
--- copyright:           
+copyright:           Jonathan Skårstedt 
 category:            Web
 build-type:          Simple
 cabal-version:       >=1.10
 
 source-repository head
- type:     github
- location: https://github.com/nyson/haste-gapi
+ type:     git
+ location: http://github.com/nyson/haste-gapi
 
+flag haste-inst
+  Description: either if it is being compiled with haste-inst or with cabal
+  Default: False
 
                      
 library
@@ -52,10 +55,10 @@
 
   other-extensions:    OverloadedStrings
   build-depends:       base == 4.* , data-default >= 0.5, transformers >= 0.4 
---  if impl(haste)
-  build-depends:     haste-lib >=0.5.1
---  else
-  --  build-depends:     haste-compiler >=0.5.1
-    
+  if flag(haste-inst)
+    build-depends: haste-lib >=0.5.1 && <0.6
+  else
+    build-depends: haste-compiler >=0.5.1 && <0.6
+
   default-language:    Haskell2010
   
