diff --git a/HueAPI.cabal b/HueAPI.cabal
--- a/HueAPI.cabal
+++ b/HueAPI.cabal
@@ -1,5 +1,5 @@
 name:                HueAPI
-version:             0.1.1
+version:             0.1.2
 synopsis:            API for controlling Philips Hue lights
 description:
 homepage:            https://github.com/sjoerdvisscher/HueAPI
@@ -13,10 +13,10 @@
 
 library
   exposed-modules:     HueAPI
-  build-depends:       base ==4.6.*,
-                       aeson ==0.6.*,
+  build-depends:       base >=4.6 && <4.8,
+                       aeson >=0.6 && <0.8,
                        utf8-string ==0.3.*,
-                       http-conduit ==1.9.*,
+                       http-conduit >=2.0 && <2.2,
                        network ==2.4.*,
                        containers ==0.5.*,
                        transformers ==0.3.*,
diff --git a/HueAPI.hs b/HueAPI.hs
--- a/HueAPI.hs
+++ b/HueAPI.hs
@@ -126,7 +126,7 @@
   d <- get
   put $ d { lights = adjust (\light -> light { state = l }) name (lights d) }
   
-map2json :: ToJSON a => [(String, a)] -> RequestBody m
+map2json :: ToJSON a => [(String, a)] -> RequestBody
 map2json = RequestBodyLBS . encode . fromList
   
 updateLightProps :: ToJSON a => Name -> [(String, a)] -> Hue ()
