packages feed

hako-0.2.0: hako.cabal

-- hako.cabal auto-generated by cabal init. For additional options,
-- see
-- http://www.haskell.org/cabal/release/cabal-latest/doc/users-guide/authors.html#pkg-descr.
-- The name of the package.
Name:                hako

-- The package version. See the Haskell package versioning policy
-- (http://www.haskell.org/haskellwiki/Package_versioning_policy) for
-- standards guiding when and how versions should be incremented.
Version:             0.2.0

-- A short (one-line) description of the package.
Synopsis:            A mako-like quasi-quoter template library

-- A longer description of the package.
Description:      A quasi-quote based HTML template library with a simplistic
                  approach, Hako borrows its philosophy from Mako, a popular
				  Python template library. The idea is that the template 
				  mechanism itself should be kept simple, while exposing the
				  full expressivity of Haskell itself inside the templates.
				  
				  At the same time, any value interpolated into a template gets
				  HTML-encoded by default, but you can override this behavior
				  by providing your own instances of the 'ToHtml' typeclass.

-- The license under which the package is released.
License:             BSD3

-- The file containing the license text.
License-file:        LICENSE

-- The package author(s).
Author:              Tobias Dammers

-- An email address to which users can send suggestions, bug reports,
-- and patches.
Maintainer:          tdammers@gmail.com

-- A copyright notice.
-- Copyright:           

Category:            Text

Build-type:          Simple

-- Extra files to be distributed with the package, such as examples or
-- a README.
-- Extra-source-files:  

-- Constraint on the version of Cabal needed to build this package.
Cabal-version:       >=1.8

Extra-source-files:
    tests/Test.hs

Library
  -- Modules exported by the library.
  Exposed-modules:     Text.Hako, Text.Hako.Parsing, Text.Hako.Html
  
  -- Packages needed in order to build this package.
  Build-depends:       parsec >= 3.0 && < 4.0
               ,       base >= 3.0 && < 5.0
               ,       template-haskell >= 2.5 && < 3.0
               ,       haskell-src-meta >= 0.5 && < 0.6
  
  -- Modules not exported by this package.
  -- Other-modules:       
  
  -- Extra tools (e.g. alex, hsc2hs, ...) needed to build the source.
  -- Build-tools:         
  
Test-suite tests
    Type:             exitcode-stdio-1.0
    Hs-source-dirs:   tests
    Main-is:          Test.hs
    Build-depends:    base
                 ,    hako
                 ,    QuickCheck