Use new-style cabal syntax
authorDuncan Coutts <duncan@haskell.org>
Wed, 22 Oct 2008 02:33:52 +0000 (02:33 +0000)
committerDuncan Coutts <duncan@haskell.org>
Wed, 22 Oct 2008 02:33:52 +0000 (02:33 +0000)
stm.cabal

index e6b08cc..c280b70 100644 (file)
--- a/stm.cabal
+++ b/stm.cabal
@@ -7,14 +7,17 @@ synopsis:     Software Transactional Memory
 category:       Concurrency
 description:   A modular composable concurrency abstraction.
 build-type:     Simple
-exposed-modules:
-               Control.Concurrent.STM
-               Control.Concurrent.STM.TArray
-               Control.Concurrent.STM.TVar
-               Control.Concurrent.STM.TChan
-               Control.Concurrent.STM.TMVar
-               Control.Monad.STM
-other-modules:
-               Control.Sequential.STM
-build-depends: base, array
-extensions:    CPP
+cabal-version:  >=1.2
+
+library
+  exposed-modules:
+    Control.Concurrent.STM
+    Control.Concurrent.STM.TArray
+    Control.Concurrent.STM.TVar
+    Control.Concurrent.STM.TChan
+    Control.Concurrent.STM.TMVar
+    Control.Monad.STM
+  other-modules:
+    Control.Sequential.STM
+  build-depends: base, array
+  extensions:    CPP