clean up cabal file and drop support for base < 3

This commit is contained in:
Adam Vogt 2014-07-10 01:32:55 +00:00
parent 1173c6c54f
commit 8ff856a761

View File

@ -45,9 +45,6 @@ source-repository head
location: http://code.haskell.org/XMonadContrib location: http://code.haskell.org/XMonadContrib
flag small_base
description: Choose the new smaller, split-up base package.
flag use_xft flag use_xft
description: Use Xft to render text description: Use Xft to render text
@ -56,30 +53,27 @@ flag testing
default: False default: False
library library
if flag(small_base) build-depends: base >= 3 && < 5,
build-depends: base >= 3 && < 5, containers,
containers, directory,
directory, extensible-exceptions,
extensible-exceptions, old-locale,
old-locale, old-time,
old-time, process,
process, random,
random mtl >= 1 && < 3,
else unix,
build-depends: base < 3 X11>=1.6.1 && < 1.7,
xmonad>=0.12 && < 0.13,
utf8-string
if flag(use_xft) if flag(use_xft)
build-depends: X11-xft >= 0.2, utf8-string build-depends: X11-xft >= 0.2
extensions: ForeignFunctionInterface
cpp-options: -DXFT cpp-options: -DXFT
build-depends: mtl >= 1 && < 3, unix, X11>=1.6.1 && < 1.7, xmonad>=0.12 && < 0.13, utf8-string
if true if true
ghc-options: -fwarn-tabs -Wall ghc-options: -fwarn-tabs -Wall
extensions: ForeignFunctionInterface
if flag(testing) if flag(testing)
ghc-options: -fwarn-tabs -Werror ghc-options: -fwarn-tabs -Werror