packages feed

sundown-0.4: sundown.cabal

Cabal-version:          >= 1.6
Name:                   sundown
Version:                0.4
Author:                 Francesco Mazzoli (f@mazzo.li)
Maintainer:             Francesco Mazzoli (f@mazzo.li)
Build-Type:             Simple
License:                PublicDomain
Build-Type:             Simple
Category:               Foreign binding, Text
Synopsis:               Bindings to the sundown markdown library
Tested-With:            GHC==7.0.2
Description:
  Bindings to the github fork of sundown, a nice C markdown library:
  <https://github.com/tanoku/sundown>

source-repository head
  type:     git
  location: git://github.com/rostayob/sundown.git

Library
  Hs-Source-Dirs:       src

  Build-Depends:        base >= 3 && < 5
                      , bytestring

  GHC-Options:          -Wall -O2 -fno-cse
  
  Extensions:           ForeignFunctionInterface, EmptyDataDecls
  
  Exposed-Modules:      Text.Sundown
                      , Text.Sundown.Markdown
                      , Text.Sundown.Renderers.Html

  Other-Modules:        Text.Sundown.Buffer.Foreign
                      , Text.Sundown.Renderers.Html.Foreign
                      , Text.Sundown.Flag
                      , Text.Sundown.Markdown.Foreign

  C-Sources:            cbits/autolink.c, cbits/buffer.c, cbits/houdini_href_e.c,
                        cbits/houdini_html_e.c, cbits/html.c, cbits/html_smartypants.c,
                        cbits/markdown.c, cbits/stack.c
  
  Include-Dirs:         cbits
  
  Includes:             autolink.h, buffer.h, html.h, html_blocks.h, markdown.h, stack.h

  Install-includes:     autolink.h, buffer.h, houdini.h, html.h, html_blocks.h, markdown.h, stack.h