clevercss-0.2.4: clevercss.cabal
cabal-version: >=1.2
Name: clevercss
Version: 0.2.4
Category: Text
Synopsis: A CSS preprocessor
Description: CleverCSS is a CSS preprocessing library that allows defining variables and nesting selectors so that you don't need to Repeat Yourself.
License: BSD3
License-File: LICENSE
Author: Georg Brandl
Maintainer: georg@python.org
Homepage: http://sandbox.pocoo.org/clevercss-hs/
Stability: stable
Extra-Source-Files: documentation.html, example.ccs
Build-Type: Simple
Flag parsec2
Description: Are we using parsec2?
Library
Build-Depends: base >= 4 && < 5, containers, mtl
If flag(parsec2)
Build-Depends: parsec >= 2.1 && < 3
CPP-Options: -DPARSEC2
Else
Build-Depends: parsec >= 3 && < 4
Exposed-Modules: Text.CSS.CleverCSS
Other-Modules: Text.CSS.CleverCSSUtil
Extensions: PatternGuards
GHC-Options: -funbox-strict-fields
Executable clevercss
Main-is: CCMain.hs
Extensions: PatternGuards
GHC-Options: -funbox-strict-fields
If flag(parsec2)
Build-Depends: parsec >= 2.1 && < 3
CPP-Options: -DPARSEC2
Else
Build-Depends: parsec >= 3 && < 4