diff --git a/parsec.cabal b/parsec.cabal
index f0302b5610e5358dc4dd4bd6b8597f9fd1157f31..f56c96c3b5c3662acefe9bc73a2449a0132b3311 100644
--- a/parsec.cabal
+++ b/parsec.cabal
@@ -1,5 +1,6 @@
 name:		parsec
-version:	3.00.0
+version:	3.0.0
+cabal-version: >= 1.2
 license:	BSD3
 license-file:	LICENSE
 author:		Daan Leijen <daan@cs.uu.nl>, Paolo Martini <paolo@nemail.it>
@@ -7,6 +8,7 @@ maintainer:	Derek Elkins <derek.a.elkins@gmail.com>
 homepage:	http://www.cs.uu.nl/~daan/parsec.html
 category:	Parsing
 synopsis:	Monadic parser combinators
+build-type: Simple
 description:
 	Parsec is designed from scratch as an industrial-strength parser
 	library.  It is simple, safe, well documented (on the package
@@ -14,20 +16,22 @@ description:
 	and is also fast.  It is defined as a monad transformer that can be
 	stacked on arbitrary monads, and it is also parametric in the
 	input stream type.
-exposed-modules:
-	Text.Parsec,
-	Text.Parsec.String,
-	Text.Parsec.ByteString,
-	Text.Parsec.ByteString.Lazy,
-	Text.Parsec.Pos,
-	Text.Parsec.Error,
-	Text.Parsec.Prim,
-	Text.Parsec.Char,
-	Text.Parsec.Combinator,
-	Text.Parsec.Token,
-	Text.Parsec.Expr,
-	Text.Parsec.Language,
-	Text.Parsec.Perm
+
+library    
+    exposed-modules:
+        Text.Parsec,
+        Text.Parsec.String,
+        Text.Parsec.ByteString,
+        Text.Parsec.ByteString.Lazy,
+        Text.Parsec.Pos,
+        Text.Parsec.Error,
+        Text.Parsec.Prim,
+        Text.Parsec.Char,
+        Text.Parsec.Combinator,
+        Text.Parsec.Token,
+        Text.Parsec.Expr,
+        Text.Parsec.Language,
+        Text.Parsec.Perm,
         Text.ParserCombinators.Parsec,
         Text.ParserCombinators.Parsec.Char,
         Text.ParserCombinators.Parsec.Combinator,
@@ -38,7 +42,7 @@ exposed-modules:
         Text.ParserCombinators.Parsec.Pos,
         Text.ParserCombinators.Parsec.Prim,
         Text.ParserCombinators.Parsec.Token
-build-depends:	base, mtl, bytestring
-extensions:	ExistentialQuantification, PolymorphicComponents, MultiParamTypeClasses, FlexibleInstances, FlexibleContexts
-ghc-options:	-O2
-ghc-prof-options:	-auto-all
+    build-depends:	base, mtl, bytestring
+    extensions:	ExistentialQuantification, PolymorphicComponents, MultiParamTypeClasses, FlexibleInstances, FlexibleContexts
+    ghc-options:	-O2
+    ghc-prof-options:	-auto-all