diff --git a/Setup.hs b/Setup.hs
--- a/Setup.hs
+++ b/Setup.hs
@@ -1,2 +1,8 @@
-import Distribution.Simple
+#! /usr/bin/runhaskell
+
+module Main (main) where
+
+import Distribution.Simple (defaultMain)
+
+main :: IO ()
 main = defaultMain
diff --git a/iteratee-stm.cabal b/iteratee-stm.cabal
--- a/iteratee-stm.cabal
+++ b/iteratee-stm.cabal
@@ -1,5 +1,5 @@
 Name:                iteratee-stm
-Version:             0.1
+Version:             0.1.2
 Synopsis:            Concurrent iteratees using STM
 Description:         Enumerators and iteratees which read from/write to STM
                      channels.  This allows for processes with dedicated IO
@@ -18,6 +18,10 @@
   Exposed-modules:    Data.Iteratee.STM
   Build-depends:      base         >= 3      && < 5
                      ,iteratee     == 0.8.*
-                     ,stm          == 2.2.*
-                     ,stm-chans    == 1.2.*
+                     ,stm          >= 2.2.0  && < 2.4
+                     ,stm-chans    >= 1.2.0  && < 1.4
                      ,transformers >= 0.2
+
+source-repository head
+  type:     darcs
+  location: http://www.tiresiaspress.us/haskell/iteratee-stm
