-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotmuch-web.cabal
186 lines (168 loc) · 5.99 KB
/
notmuch-web.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
name: notmuch-web
version: 0.2.0
cabal-version: >= 1.8
build-type: Simple
synopsis: A web interface to the notmuch email indexer
category: Web
author: John Lenz <[email protected]>
maintainer: John Lenz <[email protected]>
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
extra-source-files: config/keter.yaml
config/routes
messages/en.msg
templates/*.hamlet
templates/*.cassius
templates/*.julius
templates/*.lucius
devel.hs
package.sh
static/css/*.min.css
static/css/*.css
static/css/*.png
static/css/*.gif
static/img/*.png
js/*.js
js/pjax-LICENSE
-- Workaround for http://hackage.haskell.org/trac/hackage/ticket/792
tests/Address.hs
tests/HomeTest.hs
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
StaticFileGenerators
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
build-depends: base >= 4 && < 5
, aeson
, attoparsec
, conduit-extra
, blaze-builder
, blaze-html
, blaze-markup
, bytestring
, case-insensitive
, conduit
, containers
, directory
, data-default
, email-validate
, filepath
, shakespeare
-- 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 >= 2.1.7
, 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
, yesod-auth
, yesod-static >= 1.2.1
, yesod-form >= 1.3.8
, resourcet
, yesod-auth-pam
, unix
if flag(no-icu)
build-depends:
else
build-depends: text-icu
executable notmuch-web
if flag(library-only)
Buildable: False
main-is: src/main.hs
build-depends: base >= 4.8.0.0
, 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