packages feed

snaplet-i18n-0.0.5: snaplet-i18n.cabal

-- snaplet-i10n.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:                snaplet-i18n
Version:             0.0.5
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,
      configurator >= 0.2     && < 0.3,
      filepath     >= 1.2     && < 1.4,
      heist        >= 0.10    && < 0.14,
      lens         >= 3.7.0.1 && < 3.8,
      snap         >= 0.10    && < 0.14,
      snap-loader-static >= 0.9 && < 0.11,
      text         >= 0.11    && < 1.2,
      xmlhtml      >= 0.2

  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: snap.hs

  Build-Depends:    
      base         >= 4       && < 5,
      configurator >= 0.2     && < 0.3,
      filepath     >= 1.2     && < 1.4,
      heist        >= 0.10    && < 0.14,
      lens         >= 3.7.0.1 && < 3.8,
      snap         >= 0.10    && < 0.14,
      snap-loader-static >= 0.9 && < 0.11,
      text         >= 0.11    && < 1.2,
      xmlhtml      >= 0.2,

      bytestring   >= 0.9 && < 1.0,
      snaplet-i18n

  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