From 380d6c3317bb2c6a46ab10ec6644456a35aabac4 Mon Sep 17 00:00:00 2001
From: Vidar Holen <spam@vidarholen.net>
Date: Sun, 19 Jan 2014 13:03:05 -0800
Subject: [PATCH] Cleaned up cabal file to make 'cabal check' pass.

---
 Setup.hs         | 2 ++
 ShellCheck.cabal | 6 ++++--
 2 files changed, 6 insertions(+), 2 deletions(-)
 create mode 100644 Setup.hs

diff --git a/Setup.hs b/Setup.hs
new file mode 100644
index 0000000..9a994af
--- /dev/null
+++ b/Setup.hs
@@ -0,0 +1,2 @@
+import Distribution.Simple
+main = defaultMain
diff --git a/ShellCheck.cabal b/ShellCheck.cabal
index 67ad327..60c4f6c 100644
--- a/ShellCheck.cabal
+++ b/ShellCheck.cabal
@@ -1,12 +1,14 @@
 Name:             ShellCheck
 Version:          0.2.0
 Synopsis:         Shell script analysis tool
+License:          OtherLicense
 License-file:     LICENSE
+Category:         Static Analysis
 Author:           Vidar Holen
 Maintainer:       vidar@vidarholen.net
 Homepage:         http://www.shellcheck.net/
 Build-Type:       Simple
-Cabal-Version:    >= 1.2
+Cabal-Version:    >= 1.6
 Bug-reports:      https://github.com/koalaman/shellcheck/issues
 Description:
   The goals of ShellCheck are:
@@ -25,7 +27,7 @@ source-repository head
     location: git://github.com/koalaman/shellcheck.git
 
 library
-    build-depends: base >= 4, parsec, containers, regex-compat, mtl, directory, json
+    build-depends: base >= 4, base < 5, parsec, containers, regex-compat, mtl, directory, json
     exposed-modules: ShellCheck.AST, ShellCheck.Data, ShellCheck.Parser, ShellCheck.Analytics, ShellCheck.Simple
 
 executable shellcheck