packages feed

Yablog-0.2.0: Yablog.cabal

name:              Yablog
version:           0.2.0
license:           BSD3
license-file:      LICENSE
author:            Hiromi ISHII
maintainer:        Hiromi ISHII
synopsis:          A simple blog engine powered by Yesod.
description:       A simple blog engine powered by Yesod.
category:          Web
stability:         Experimental
cabal-version:     >= 1.6
build-type:        Simple
homepage:          http://gitweb.konn-san.com/repo/Yablog/tree/master

extra-source-files:
  config/models, config/routes, messages/*.msg,
  templates/*.hamlet, templates/*.julius, templates/*.lucius
data-files:
  config/mongoDB.yml, config/settings.yml, config/robots.txt,
  static/css/*.css, static/img/*.png, static/js/*.js
Flag dev
    Description:   Turn on development settings, like auto-reload templates.
    Default:       False

Flag library-only
    Description:   Build for use with "yesod devel"
    Default:       False


library
    if flag(library-only)
        Buildable: True
    else
        Buildable: False
    exposed-modules: Application
    other-modules:   Foundation
                     Import
                     Model
                     Markups
                     Forms
                     Settings
                     Settings.Development
                     Settings.StaticFiles
                     Handler.Root
                     Handler.Blog
                     Handler.User

    ghc-options:   -Wall -O0
    cpp-options:   -DDEVELOPMENT

    extensions: TemplateHaskell
                QuasiQuotes
                OverloadedStrings
                NoImplicitPrelude
                CPP
                MultiParamTypeClasses
                TypeFamilies
                GADTs
                GeneralizedNewtypeDeriving
                FlexibleContexts
                ViewPatterns
                EmptyDataDecls

executable         Yablog
    if flag(library-only)
        Buildable: False

    if flag(dev)
        cpp-options:   -DDEVELOPMENT
        ghc-options:   -Wall -threaded -O0
    else
        ghc-options:   -Wall -threaded -O2

    main-is:       main.hs

    extensions: TemplateHaskell
                QuasiQuotes
                OverloadedStrings
                NoImplicitPrelude
                CPP
                OverloadedStrings
                MultiParamTypeClasses
                TypeFamilies
                GADTs
                GeneralizedNewtypeDeriving
                ViewPatterns
                FlexibleContexts
                EmptyDataDecls

    build-depends: base                          >= 4 && < 5
                 , yesod-platform                == 1.1.*
                 , yesod                         == 1.1.*
                 , yesod-core                    == 1.1.*
                 , yesod-auth                    == 1.1.*
                 , yesod-static                  == 1.1.*
                 , yesod-default                 == 1.1.*
                 , yesod-form                    == 1.2.*
                 , yesod-recaptcha               == 1.1.*
                 , yesod-newsfeed                == 1.1.*
                 , mime-mail                     == 0.4.*
                 , clientsession                 == 0.8.*
                 , bytestring                    >= 0.9        && < 0.10
                 , blaze-builder                 == 0.3.*
                 , blaze-html                    == 0.5.*
                 , text                          >= 0.11       && < 0.12
                 , persistent                    == 1.0.*
                 , case-insensitive              == 0.4.*
                 , http-types                    == 0.7.*
                 , persistent-mongoDB            == 1.0.*
                 , template-haskell
                 , hamlet                        == 1.1.*
                 , shakespeare-css               == 1.0.*
                 , shakespeare-js                == 1.1.*
                 , shakespeare-text              == 1.0.*
                 , hjsmin                        == 0.1.*
                 , monad-control                 == 0.3.*
                 , wai-extra                     == 1.3.*
                 , wai                           == 1.3.*
                 , yaml                          == 0.8.*
                 , http-conduit                  == 1.8.*
                 , time                          >= 1.2        && < 1.5
                 , old-locale                    >= 1.0        && < 1.1
                 , pandoc                        == 1.9.*
                 , pandoc-types                  == 1.9.*
                 , xml-hamlet                    == 0.4.*
                 , xml-conduit                   == 1.0.*
                 , network                       >= 2.3        && < 2.4
                 , filepath                      >= 1.2        && < 1.4
                 , directory                     >= 1.1        && < 1.2
                 , containers                    >= 0.4        && < 0.5
                 , mtl                           >= 2.0        && < 2.2
                 , temporary                     == 1.1.*
                 , resourcet                     == 0.4.*
                 , data-default                  == 0.5.*
                 , conduit                       == 0.5.*

source-repository head
  type:     git
  location: https://github.com/konn/Yablog

source-repository this
  type:     git
  location: https://github.com/konn/Yablog
  tag: 0.2.0