notmuch-web-0.1.2: notmuch-web.cabal
name: notmuch-web
version: 0.1.2
cabal-version: >= 1.8
build-type: Simple
synopsis: A web interface to the notmuch email indexer
category: Web
author: John Lenz <lenz@math.uic.edu>
maintainer: John Lenz <lenz@math.uic.edu>
license: GPL
license-file: LICENSE
homepage: https://bitbucket.org/wuzzeb/notmuch-web
stability: Experimental
description: An email client for the notmuch email indexer (<http://notmuchmail.org>),
built using Yesod. This project implements a web server and uses bootstrap
and jquery for the UI. The client is fully functional, with searching, viewing,
and composing email messages. See
<https://bitbucket.org/wuzzeb/notmuch-web/src/tip/ChangeLog> for recent changes.
data-files: README.md
config/favicon.ico
config/robots.txt
config/settings.yml
static/css/*.min.css
static/js/*.min.js
static/js/*.js
static/img/*.png
extra-source-files: config/keter.yaml
config/routes
messages/en.msg
templates/*.hamlet
templates/*.cassius
templates/*.julius
templates/*.lucius
devel.hs
package.sh
source-repository head
type: mercurial
location: https://bitbucket.org/wuzzeb/notmuch-web
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
Flag no-icu
Description: Do not link against libicu
Default: False
library
hs-source-dirs: src
exposed-modules: Application
Foundation
Import
Settings
StaticFiles
NotmuchCmd
FilterHtml
Handler.Abook
Handler.Compose
Handler.ComposeFields
Handler.Home
Handler.Pager
Handler.Raw
Handler.Tags
Handler.View
if flag(dev) || flag(library-only)
cpp-options: -DDEVELOPMENT
ghc-options: -Wall -O0
else
ghc-options: -Wall -O2
if flag(no-icu)
cpp-options: -DNO_ICU
else
cpp-options: -DUSE_ICU
extensions: TemplateHaskell
QuasiQuotes
OverloadedStrings
NoImplicitPrelude
CPP
MultiParamTypeClasses
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
EmptyDataDecls
NoMonomorphismRestriction
if flag(no-icu)
build-depends: base >= 4 && < 5
, aeson
, attoparsec
, attoparsec-conduit
, blaze-builder
, blaze-html
, blaze-markup
, bytestring
, case-insensitive
, conduit
, containers
, directory
, data-default
, email-validate
, filepath
, hamlet
-- https://github.com/bos/aeson/issues/125 and https://github.com/tibbe/hashable/issues/66
, hashable <= 1.2.0.5 || > 1.2.0.7
, hjsmin
, http-conduit
, http-types
, lifted-base
, markdown >= 0.1.5
, mime-mail
, network
, old-locale
, process
, process-conduit >= 0.5
, pwstore-fast
, random
, tagsoup
, template-haskell
, text
, time
, transformers
, unordered-containers
, vector
, wai
, wai-extra
, warp
, xss-sanitize >= 0.3.4
, yaml
, yesod >= 1.2 && < 1.3
, yesod-auth
, yesod-static
else
build-depends: base >= 4 && < 5
, aeson
, attoparsec
, attoparsec-conduit
, blaze-builder
, blaze-html
, blaze-markup
, bytestring
, case-insensitive
, conduit
, containers
, data-default
, directory
, email-validate
, filepath
, hamlet
-- https://github.com/bos/aeson/issues/125 and https://github.com/tibbe/hashable/issues/66
, hashable <= 1.2.0.5 || > 1.2.0.7
, hjsmin
, http-conduit
, http-types
, lifted-base
, markdown >= 0.1.5
, mime-mail
, network
, old-locale
, process
, process-conduit >= 0.5
, pwstore-fast
, random
, tagsoup
, template-haskell
, text
, text-icu
, time
, transformers
, unordered-containers
, vector
, wai
, wai-extra
, warp
, xss-sanitize >= 0.3.4
, yaml
, yesod >= 1.2 && < 1.3
, yesod-auth
, yesod-static
executable notmuch-web
if flag(library-only)
Buildable: False
main-is: main.hs
build-depends: base
, notmuch-web
, pwstore-fast
, text
, yesod
ghc-options: -threaded -O2
test-suite test
type: exitcode-stdio-1.0
main-is: main.hs
hs-source-dirs: tests
ghc-options: -Wall
build-depends: base
, notmuch-web
, hspec
, HUnit
, mime-mail
, text
, yesod
, yesod-test
, yesod-core