packages feed

yesod-job-queue-0.3.0.2: yesod-job-queue.cabal

name:                yesod-job-queue
version:             0.3.0.2
synopsis:            Background jobs library for Yesod.
description:
  Background jobs library for Yesod
  .
  * It contains management API and web interface. 
  * Queue backend is Redis.
  * Support cron scheduler
  .
  Usage and screen shot are available in README.md
 
homepage:            https://github.com/nakaji-dayo/yesod-job-queue#readme
license:             BSD3
license-file:        LICENSE
author:              Daishi Nakajima
maintainer:          nakaji.dayo@gmail.com
copyright:           2016 Daishi Nakajima
category:            Web
build-type:          Custom
extra-source-files:  README.md
                     app/dist/app.bundle.js
                     doc/yesod-job-queue-ss.png
cabal-version:       >=1.10

flag example
  description: Build the example application
  default: False
                              
library
  exposed-modules:     Yesod.JobQueue
                     , Yesod.JobQueue.GenericConstr
                     , Yesod.JobQueue.Routes
                     , Yesod.JobQueue.Scheduler
                     , Yesod.JobQueue.Types
  default-extensions:  FlexibleContexts
                     , FlexibleInstances
                     , FunctionalDependencies
                     , KindSignatures
                     , MultiParamTypeClasses
                     , OverloadedStrings
                     , ScopedTypeVariables
                     , TypeFamilies
                     , TypeOperators
                     , TypeSynonymInstances
                     , ViewPatterns
  build-depends:       base >= 4.7 && < 5
                     , aeson
                     , api-field-json-th
                     , bytestring
                     , cron
                     , file-embed
                     , hedis
                     , lens
                     , monad-control
                     , monad-logger
                     , stm
                     , text
                     , time
                     , transformers
                     , uuid
                     , yesod >= 1.4 && < 1.5
                     , yesod-core
                     , yesod-persistent
                     
  ghc-options:         -Wall -fwarn-tabs -O2
  default-language:    Haskell2010

executable          yesod-job-queue-example
  if flag(example)
    buildable: True
  else
    buildable: False
  hs-source-dirs:      example
  main-is:          Main.hs
  default-extensions:  TemplateHaskell
                     , QuasiQuotes
                     , OverloadedStrings
                     , TypeFamilies
                     , GADTs
                     , MultiParamTypeClasses
                     , EmptyDataDecls
                     , GeneralizedNewtypeDeriving
                     , DeriveGeneric
--  other-modules: 
  ghc-options:      -Wall -fwarn-tabs -O2

  build-depends:  base >= 4.7 && < 5
                , yesod
                , yesod-core
                , yesod-job-queue
                , persistent-sqlite
                , resourcet
                , monad-logger
                , classy-prelude-yesod
                , hedis

  ghc-options:    -threaded -O2 -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010
  
test-suite yesod-job-queue-test
  type:                exitcode-stdio-1.0
  hs-source-dirs:      test
  main-is:             Spec.hs
  build-depends:       base
                     , yesod-job-queue
  ghc-options:         -threaded -rtsopts -with-rtsopts=-N
  default-language:    Haskell2010

source-repository head
  type:     git
  location: https://github.com/nakaji-dayo/yesod-job-queue