packages feed

citeproc-hs-0.1: citeproc-hs.cabal

name:               citeproc-hs
version:            0.1
homepage:           http://code.haskell.org/citeproc-hs
synopsis:           A Citation Style Language implementation in Haskell

description:        citeproc-hs is a Hakell port of Citeproc, a
		    processor for converting citations into a variety
		    of formats using a macro language called Citation
		    Style Language (CSL).
		    .
		    For more details on Citeproc and CSL, please check:
		    <http://xbiblio.sourceforge.net/>.

category:           Text
license:            BSD3
license-file:       LICENSE
author:             Andrea Rossato
maintainer:         andrea.rossato@ing.unitn.it
cabal-version:      >= 1.2
build-type:         Simple
data-files:         locales/locales-af-AZ.xml
                    locales/locales-af-ZA.xml
                    locales/locales-ar-AR.xml
                    locales/locales-bg-BG.xml
                    locales/locales-ca-AD.xml
                    locales/locales-cs-CZ.xml
                    locales/locales-da-DK.xml
                    locales/locales-de-AT.xml
                    locales/locales-de-CH.xml
                    locales/locales-de-DE.xml
                    locales/locales-el-GR.xml
                    locales/locales-en-US.xml
                    locales/locales-es-ES.xml
                    locales/locales-et-EE.xml
                    locales/locales-fr-FR.xml
                    locales/locales-he-IL.xml
                    locales/locales-hu-HU.xml
                    locales/locales-is-IS.xml
                    locales/locales-it-IT.xml
                    locales/locales-ja-JP.xml
                    locales/locales-ko-KR.xml
                    locales/locales-mn-MN.xml
                    locales/locales-nb-NO.xml
                    locales/locales-nl-NL.xml
                    locales/locales-pl-PL.xml
                    locales/locales-pt-BR.xml
                    locales/locales-pt-PT.xml
                    locales/locales-ro-RO.xml
                    locales/locales-ru-RU.xml
                    locales/locales-sk-SK.xml
                    locales/locales-sl-SI.xml
                    locales/locales-sr-RS.xml
                    locales/locales-sv-SE.xml
                    locales/locales-th-TH.xml
                    locales/locales-tr-TR.xml
                    locales/locales-vi-VN.xml
                    locales/locales-zh-CN.xml
                    locales/locales-zh-TW.xml

flag small_base
  description: Choose the new smaller, split-up base package.

flag test
  description: Run the textsuite.

library
    exposed-modules:    Text.CSL
                        Text.CSL.Eval
                        Text.CSL.Parser
                        Text.CSL.Proc
                        Text.CSL.Reference
                        Text.CSL.Style
                        Text.CSL.Input.MODS
                        Text.CSL.Output.Pandoc
                        Text.CSL.Output.Plain
    other-modules:      Paths_citeproc_hs
    ghc-options:        -funbox-strict-fields -Wall
    ghc-prof-options:   -prof -auto-all
    hs-source-dirs:     src dist/build/autogen

    if flag(small_base)
       build-depends:   base >= 3, containers, directory

    else
       build-depends:   base < 3

    build-depends:      mtl, hxt >= 8.1