packages feed

yesod-0.9.2: yesod.cabal

name:            yesod
version:         0.9.2
license:         BSD3
license-file:    LICENSE
author:          Michael Snoyman <michael@snoyman.com>
maintainer:      Michael Snoyman <michael@snoyman.com>
synopsis:        Creation of type-safe, RESTful web applications.
description:
    Yesod is a framework designed to foster creation of RESTful web application that have strong compile-time guarantees of correctness. It also affords space efficient code and portability to many deployment backends, from CGI to stand-alone serving.
    .
    The Yesod documentation site <http://docs.yesodweb.com/> has much more information, tutorials and information on some of the supporting packages, like Hamlet and web-routes-quasi.
category:        Web, Yesod
stability:       Stable
cabal-version:   >= 1.6
build-type:      Simple
homepage:        http://www.yesodweb.com/

extra-source-files:
  input/*.cg
  scaffold/cassius/default-layout.cassius.cg
  scaffold/cassius/homepage.cassius.cg
  scaffold/Model.hs.cg
  scaffold/Foundation.hs.cg
  scaffold/LICENSE.cg
  scaffold/mongoDBConnPool.cg
  scaffold/tiny/Foundation.hs.cg
  scaffold/tiny/project.cabal.cg
  scaffold/tiny/Application.hs.cg
  scaffold/tiny/hamlet/homepage.hamlet.cg
  scaffold/tiny/Handler/Root.hs.cg
  scaffold/tiny/config/routes.cg
  scaffold/tiny/Settings.hs.cg
  scaffold/static/css/normalize.css.cg
  scaffold/postgresqlConnPool.cg
  scaffold/sqliteConnPool.cg
  scaffold/.ghci.cg
  scaffold/project.cabal.cg
  scaffold/Application.hs.cg
  scaffold/julius/homepage.julius.cg
  scaffold/hamlet/homepage.hamlet.cg
  scaffold/hamlet/default-layout.hamlet.cg
  scaffold/hamlet/boilerplate-layout.hamlet.cg
  scaffold/deploy/Procfile.cg
  scaffold/main.hs.cg
  scaffold/Handler/Root.hs.cg
  scaffold/config/models.cg
  scaffold/config/sqlite.yml.cg
  scaffold/config/settings.yml.cg
  scaffold/config/favicon.ico.cg
  scaffold/config/postgresql.yml.cg
  scaffold/config/mongoDB.yml.cg
  scaffold/config/routes.cg
  scaffold/Settings.hs.cg
  scaffold/Settings/StaticFiles.hs.cg


flag ghc7

library
    if flag(ghc7)
        build-depends:   base                  >= 4.3      && < 5
        cpp-options:     -DGHC7
    else
        build-depends:   base                  >= 4        && < 4.3
    build-depends:   yesod-core                >= 0.9.1.1  && < 0.10
                   , yesod-auth                >= 0.7      && < 0.8
                   , yesod-json                >= 0.2      && < 0.3
                   , yesod-persistent          >= 0.2      && < 0.3
                   , yesod-form                >= 0.3      && < 0.4
                   , monad-control             >= 0.2      && < 0.3
                   , transformers              >= 0.2      && < 0.3
                   , wai                       >= 0.4      && < 0.5
                   , wai-extra                 >= 0.4.1    && < 0.5
                   , hamlet                    >= 0.10     && < 0.11
                   , shakespeare-js            >= 0.10     && < 0.11
                   , shakespeare-css           >= 0.10     && < 0.11
                   , warp                      >= 0.4      && < 0.5
                   , blaze-html                >= 0.4      && < 0.5
    exposed-modules: Yesod
    ghc-options:     -Wall

executable             yesod
    if flag(ghc7)
        build-depends:   base                  >= 4.3      && < 5
        cpp-options:     -DGHC7
    else
        build-depends:   base                  >= 4        && < 4.3
    if os(windows)
        cpp-options:     -DWINDOWS
    build-depends:     parsec             >= 2.1          && < 4
                     , text               >= 0.11         && < 0.12
                     , shakespeare-text   >= 0.10         && < 0.11
                     , bytestring         >= 0.9          && < 0.10
                     , time               >= 1.1.4        && < 1.3
                     , template-haskell
                     , directory          >= 1.0          && < 1.2
                     , Cabal              >= 1.8          && < 1.13
                     , unix-compat        >= 0.2          && < 0.4
                     , containers         >= 0.2          && < 0.5
                     , attoparsec-text    >= 0.8.5        && < 0.9
                     , http-types         >= 0.6.1        && < 0.7
                     , blaze-builder      >= 0.2          && < 0.4
                     , filepath           >= 1.2          && < 1.3
                     , process
    ghc-options:       -Wall -threaded
    main-is:           main.hs
    other-modules:     Scaffolding.CodeGen
                       Scaffolding.Scaffolder
                       Devel
                       Build

source-repository head
  type:     git
  location: git://github.com/yesodweb/yesod.git