File: gitit.cabal

package info (click to toggle)
gitit 0.12.3.1+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 1,008 kB
  • sloc: haskell: 4,942; xml: 245; sh: 65; makefile: 16
file content (212 lines) | stat: -rw-r--r-- 9,474 bytes parent folder | download
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
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
name:                gitit
version:             0.12.3.1
Cabal-version:       >= 1.8
build-type:          Simple
synopsis:            Wiki using happstack, git or darcs, and pandoc.
description:         Gitit is a wiki backed by a git, darcs, or mercurial
                     filestore.  Pages and uploaded files can be modified either
                     directly via the VCS's command-line tools or through
                     the wiki's web interface. Pandoc is used for markup
                     processing, so pages may be written in
                     (extended) markdown, reStructuredText, LaTeX, HTML,
                     or literate Haskell, and exported in ten different
                     formats, including LaTeX, ConTeXt, DocBook, RTF,
                     OpenOffice ODT, and MediaWiki markup.
                     .
                     Notable features include
                     .
                     * plugins: dynamically loaded page
                       transformations written in Haskell (see
                       "Network.Gitit.Interface")
                     .
                     * conversion of TeX math to MathML for display in
                       web browsers
                     .
                     * syntax highlighting of source code
                       files and code snippets
                     .
                     * Atom feeds (site-wide and per-page)
                     .
                     * a library, "Network.Gitit", that makes it simple
                       to include a gitit wiki in any happstack application
                     .
                     You can see a running demo at <http://gitit.net>.
                     .
                     For usage information:  @gitit --help@

category:            Network
license:             GPL
license-file:        LICENSE
author:              John MacFarlane
maintainer:          jgm@berkeley.edu
bug-reports:         http://github.com/jgm/gitit/issues
homepage:            http://gitit.net
stability:           experimental
data-files:          data/static/css/screen.css, data/static/css/print.css,
                     data/static/css/ie.css, data/static/css/highlighting.css,
                     data/static/css/reset-fonts-grids.css,
                     data/static/css/custom.css,
                     data/static/img/logo.png, data/static/img/icons/feed.png,
                     data/static/img/icons/folder.png, data/static/img/icons/page.png,
                     data/static/js/dragdiff.js,
                     data/static/js/uploadForm.js,
                     data/static/js/preview.js, data/static/js/search.js,
                     data/static/js/MathMLinHTML.js, data/static/js/footnotes.js,
                     data/static/robots.txt,
                     data/s5/default/blank.gif,
                     data/s5/default/bodybg.gif,
                     data/s5/default/framing.css,
                     data/s5/default/iepngfix.htc,
                     data/s5/default/opera.css,
                     data/s5/default/outline.css,
                     data/s5/default/pretty.css,
                     data/s5/default/print.css,
                     data/s5/default/s5-core.css,
                     data/s5/default/slides.css,
                     data/s5/default/slides.js,
                     data/s5/default/slides.min.js,
                     data/post-update, data/FrontPage.page, data/Help.page,
                     data/markup.Markdown, data/markup.RST,
                     data/markup.Textile, data/markup.Org, data/markup.DocBook,
                     data/markup.HTML, data/markup.LaTeX,
                     data/default.conf,
                     data/templates/page.st, data/templates/content.st,
                     data/templates/userbox.st, data/templates/footer.st,
                     data/templates/logo.st, data/templates/markuphelp.st,
                     data/templates/pagetools.st, data/templates/sitenav.st,
                     data/templates/messages.st, data/templates/listitem.st,
                     data/templates/expire.st, data/templates/getuser.st,
                     data/markupHelp/Markdown, data/markupHelp/Markdown+LHS,
                     data/markupHelp/RST, data/markupHelp/RST+LHS,
                     data/markupHelp/LaTeX, data/markupHelp/LaTeX+LHS,
                     data/markupHelp/HTML, data/markupHelp/Org,
                     plugins/CapitalizeEmphasis.hs,
                     plugins/PigLatin.hs,
                     plugins/Dot.hs,
                     plugins/ImgTex.hs,
                     plugins/Interwiki.hs,
                     plugins/Deprofanizer.hs,
                     plugins/WebArchiver.hs,
                     plugins/ShowUser.hs,
                     plugins/Signature.hs,
                     plugins/Subst.hs,
                     CHANGES, README.markdown, YUI-LICENSE, BLUETRIP-LICENSE, TANGOICONS

Source-repository head
  type:          git
  location:      git://github.com/jgm/gitit.git

Flag network-uri
  Description: Get Network.URI from the network-uri package
  Default: True

Flag plugins
  description:       Compile in support for plugins.  This will increase the size of
                     the executable and the memory it uses, so those who will not need
                     plugins should disable this flag.
  default:           True

Library
  hs-source-dirs:    src
  exposed-modules:   Network.Gitit, Network.Gitit.ContentTransformer,
                     Network.Gitit.Types, Network.Gitit.Framework,
                     Network.Gitit.Initialize, Network.Gitit.Config,
                     Network.Gitit.Layout, Network.Gitit.Authentication,
                     Network.Gitit.Authentication.Github,
                     Network.Gitit.Util, Network.Gitit.Server
                     Network.Gitit.Cache, Network.Gitit.State,
                     Network.Gitit.Export,
                     Network.Gitit.Handlers,
                     Network.Gitit.Plugins, Network.Gitit.Rpxnow,
                     Network.Gitit.Page, Network.Gitit.Feed,
                     Network.Gitit.Compat.Except,
                     Paths_gitit
  build-depends:     base >= 4.9 && < 5,
                     syb,
                     filepath,
                     safe,
                     parsec,
                     pretty,
                     xhtml,
                     containers,
                     process,
                     filepath,
                     directory,
                     mtl,
                     old-time,
                     pandoc >= 2.2,
                     pandoc-types >= 1.17.4.2 && < 1.18,
                     skylighting >= 0.7.4 && < 0.8,
                     bytestring,
                     text,
                     random,
                     utf8-string >= 0.3 && < 1.1,
                     SHA > 1 && < 1.7,
                     HTTP >= 4000.0 && < 4000.4,
                     HStringTemplate >= 0.6 && < 0.9,
                     old-locale >= 1,
                     time >= 1.1 && < 1.10,
                     recaptcha >= 0.1,
                     filestore >= 0.6 && < 0.7,
                     zlib >= 0.5 && < 0.7,
                     url >= 2.1 && < 2.2,
                     happstack-server >= 7.0 && < 7.6,
                     base64-bytestring >= 0.1 && < 1.1,
                     xml >= 1.3.5,
                     hslogger >= 1 && < 1.3,
                     ConfigFile >= 1 && < 1.2,
                     feed >= 1.0 && < 1.1,
                     xss-sanitize >= 0.3 && < 0.4,
                     tagsoup >= 0.13 && < 0.15,
                     blaze-html >= 0.4 && < 0.10,
                     json >= 0.4 && < 0.10,
                     uri-bytestring >= 0.2.3.3 && <= 0.4,
                     split,
                     hoauth2 >= 1.3.0 && < 1.9,
                     xml-conduit >= 1.5 && < 1.9,
                     http-conduit >= 2.1.6 && < 2.4,
                     http-client-tls >= 0.2.2 && < 0.4,
                     aeson >= 0.7 && < 1.5,
                     uuid >= 1.3 && < 1.4
  if flag(network-uri)
    build-depends:   network-uri >= 2.6 && < 2.7, network >= 2.6
  else
    build-depends:   network >= 2 && < 2.6
  if flag(plugins)
    exposed-modules: Network.Gitit.Interface
    build-depends:   ghc, ghc-paths
    cpp-options:     -D_PLUGINS
  extensions:        CPP
  ghc-options:       -Wall -fno-warn-unused-do-bind
  ghc-prof-options:  -fprof-auto-exported

Executable           gitit
  hs-source-dirs:    .
  main-is:           gitit.hs
  build-depends:     base >=3 && < 5,
                     gitit,
                     mtl,
                     hslogger,
                     bytestring,
                     text,
                     utf8-string,
                     directory
  other-modules:     Paths_gitit
  if flag(network-uri)
    build-depends:   network-uri >= 2.6 && < 2.7, network >= 2.6
  else
    build-depends:   network >= 2 && < 2.6
  extensions:        CPP
  ghc-options:       -Wall -threaded -fno-warn-unused-do-bind
  ghc-prof-options:  -fprof-auto-exported -rtsopts

Executable           expireGititCache
  hs-source-dirs:    .
  main-is:           expireGititCache.hs
  build-depends:     base >= 4.9 && < 5, HTTP, url, filepath, syb
  if flag(network-uri)
    build-depends:   network-uri >= 2.6 && < 2.7, network >= 2.6
  else
    build-depends:   network >= 2 && < 2.6
  ghc-options:       -Wall