packages feed

yu-utils-0.1.0.0: yu-utils.cabal

-- Initial yu-utils.cabal generated by cabal init.  For further 
-- documentation, see http://haskell.org/cabal/users-guide/

name:                yu-utils
version:             0.1.0.0
synopsis:            Utils for Yu
description:         Utils for Yu
license:             GPL-3
license-file:        LICENSE
author:              Johann Lee
maintainer:          qinka@live.com
copyright:           Copyright (C) 2017 Johann Lee
category:            Web
build-type:          Simple
extra-source-files:  ChangeLog.md
cabal-version:       >=1.22
                                    
flag client
     description: For client, disable some function about server.
     default: False

library
  exposed-modules:     Yu.Import
                       Yu.Import.Aeson
                       Yu.Import.ByteString.Lazy
                       Yu.Import.ByteString
                       Yu.Import.Text
                       Yu.Import.TH
                       Yu.Import.Version
                       Yu.Utils.Info
  other-modules:       Paths_yu_utils
  build-depends:       base >= 4 && < 5
                     , aeson >= 1
                     , bytestring >= 0.10
                     , text >= 1.2
                     , time >= 1.6
                     , template-haskell >= 2.11
                     , gitrev >= 1.2
                     , cmdargs >= 0.10
                     , signal >=0.1.0.3
  reexported-modules:  Data.Time
                     , Development.GitRev
                     , Data.Text.IO
                     , Data.Text.Lazy
                     , Data.Text.Internal.Builder
  hs-source-dirs:      src
  default-language:    Haskell2010
  
  if !flag(client)
     exposed-modules:  Yu.Utils.Handler
     build-depends:    yesod-core >= 1.4.30
                     , blaze-markup >= 0.7
                     , blaze-html >= 0.8
                     , conduit >= 1.2
                     , shakespeare >= 2.0.13
                     , fast-logger >= 2.4
                     , monad-control >= 1.0.1
                     , monad-logger >= 0.3.19
                     , mongoDB >= 2.1
                     , network >= 2.6.2
                     , parsec >= 3.1.10
                     , resource-pool >= 0.2.3
                     , transformers >= 0.5.2
                     , wai >= 3.2
                     , wai-logger >= 2.3
                     , wai-extra >= 3.0.15
                     , warp >= 3.2.7
                     , xml-hamlet >= 0.4.0.10
                     , mtl >= 2.2
                     , http-types >= 0.9
     reexported-modules: Yesod.Core
                       , Yesod.Core.Handler
                       , Database.MongoDB
                       , Control.Monad.Trans.Control
                       , Control.Monad.Writer.Lazy
                       , Text.Parsec
                       , Network.HTTP.Types
                       , Data.Pool
                       , Text.Blaze.Html
                       , Yesod.Core.Json
                       , Yesod.Core.Dispatch
                       , Yesod.Core.Widget
                       , Data.Conduit
                       , Network.Wai
                       , Network.Wai.Middleware.RequestLogger
                       , Network.Wai.Middleware.Gzip
     other-extensions: OverloadedStrings



     
source-repository head
  type: git
  location: https://github.com/Qinka/Yu.git
  subdir: yu-utils
  branch: 0.1/dev/master