packages feed

snaplet-i18n-0.2.0: snaplet-i18n.cabal

Name:                snaplet-i18n
Version:             0.2.0
Description:         A light weight i18n snaplet.
Synopsis:            snaplet-i18n
Homepage:            https://github.com/HaskellCNOrg/snaplet-i18n
License:             BSD3
License-file:        LICENSE
Author:              Haisheng,Wu
Maintainer:          freizl@gmail.com
Copyright:           Haisheng Wu
Category:            Web
Build-type:          Simple
Stability:           Experience
Cabal-version:       >=1.10

Extra-source-files:
  README.md
  example/snap.hs
  snaplets/heist/templates/*.tpl
  snaplets/i18n/*.cfg

Source-Repository head
  Type:     git
  Location: git://github.com/HaskellCNOrg/snaplet-i18n.git


Library
  Hs-Source-Dirs:   src
  default-language:    Haskell2010
  Exposed-modules:
      Snap.Snaplet.I18N

  Other-modules: Paths_snaplet_i18n

  Build-Depends:
                base         >= 4       && < 5
              , mtl
              , transformers
              , configurator
              , filepath
              , heist
              , lens
              , snap
              , snap-loader-static
              , text
              , xmlhtml
              , map-syntax

  if impl(ghc >= 6.12.0)
      ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
                   -fno-warn-orphans -fno-warn-unused-do-bind
  else
      ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
                   -fno-warn-orphans

Executable demo
  --Hs-Source-Dirs:   example
  default-language: Haskell2010
  main-is: example/snap.hs

  Build-Depends:
                base         >= 4       && < 5
              , configurator
              , transformers
              , filepath
              , heist
              , lens
              , snap
              , snap-loader-static
              , text
              , xmlhtml
              , bytestring
              , snaplet-i18n
              , map-syntax

  if impl(ghc >= 6.12.0)
      ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
                   -fno-warn-unused-do-bind
  else
      ghc-options: -Wall -fwarn-tabs -funbox-strict-fields