packages feed

sundown-0.5: sundown.cabal

Cabal-version:      >= 1.6
Name:               sundown
Version:            0.5
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.4.2, GHC==7.2.2, GHC==7.0.4, GHC==6.12.3
Homepage:           https://github.com/bitonic/sundown
Bug-Reports:        https://github.com/bitonic/sundown/issues
Description:
    Bindings to GitHub's C markdown library: <https://github.com/tanoku/sundown>.
    . 
    The Haskell code is in the public domain. For sundown's license, refer to
    its GitHub page.

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

Library
    Hs-Source-Dirs:   src
    Build-Depends:    base >= 3 && < 5, bytestring, utf8-string, text
    GHC-Options:      -Wall -O2 -fno-cse
    Extensions:       ForeignFunctionInterface, EmptyDataDecls

    Exposed-Modules:  Text.Sundown,
                      Text.Sundown.Html.ByteString,
                      Text.Sundown.Html.String,
                      Text.Sundown.Html.Text

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

    C-Sources:        sundown-c/autolink.c, sundown-c/buffer.c,
                      sundown-c/houdini_href_e.c, sundown-c/houdini_html_e.c,
                      sundown-c/html.c, sundown-c/html_smartypants.c,
                      sundown-c/markdown.c, sundown-c/stack.c

    Include-Dirs:     sundown-c

    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