summaryrefslogtreecommitdiff
path: root/hakyll.cabal
blob: c4378f43a1a28c648ad7cea90c121ac9c0bca94b (plain)
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
Name:    hakyll
Version: 3.2.7.0

Synopsis: A static website compiler library
Description:
  Hakyll is a static website compiler library. It provides you with the tools to
  create a simple or advanced static website using a Haskell DSL and formats
  such as markdown or RST. You can find more information, including a tutorial,
  on the website:

  .

  * <http://jaspervdj.be/hakyll>

  .

  If you seek assistance, there's:

  .

  * A google group: <http://groups.google.com/group/hakyll>

  .

  * An IRC channel, @#hakyll@ on freenode

  .

  Additionally, there's the Haddock documentation in the different modules,
  meant as a reference.

Author:       Jasper Van der Jeugt <m@jaspervdj.be>
Maintainer:   Jasper Van der Jeugt <m@jaspervdj.be>
Homepage:     http://jaspervdj.be/hakyll
Bug-Reports:  http://github.com/jaspervdj/Hakyll/issues
License:      BSD3
License-File: LICENSE
Category:     Web

Cabal-Version: >= 1.8
Build-Type:    Simple
Data-Dir:      data
Data-Files:
  templates/atom.xml
  templates/atom-item.xml
  templates/rss.xml
  templates/rss-item.xml

Source-Repository head
  Type:     git
  Location: git://github.com/jaspervdj/hakyll.git

Flag previewServer
  Description: Include the preview server
  default:     True

Library
  Ghc-Options:    -Wall
  Hs-Source-Dirs: src

  Build-Depends:
    base        >= 4      && < 5,
    binary      >= 0.5    && < 0.6,
    blaze-html  >= 0.4    && < 0.6,
    bytestring  >= 0.9    && < 0.10,
    citeproc-hs >= 0.3.2  && < 0.4,
    containers  >= 0.3    && < 0.5,
    cryptohash  >= 0.7    && < 0.8,
    directory   >= 1.0    && < 1.2,
    filepath    >= 1.0    && < 1.4,
    hamlet      >= 0.10.3 && < 0.11,
    mtl         >= 1      && < 2.1,
    old-locale  >= 1.0    && < 1.1,
    old-time    >= 1.0    && < 1.2,
    pandoc      >= 1.9    && < 1.10,
    parsec      >= 3.0    && < 3.2,
    process     >= 1.0    && < 1.2,
    regex-base  >= 0.93   && < 0.94,
    regex-tdfa  >= 1.1    && < 1.2,
    tagsoup     >= 0.12.6 && < 0.13,
    time        >= 1.1    && < 1.5,
    unix        >= 2.4    && < 2.6

  Exposed-Modules:
    Hakyll
    Hakyll.Core.CompiledItem
    Hakyll.Core.Compiler
    Hakyll.Core.Configuration
    Hakyll.Core.DependencyAnalyzer
    Hakyll.Core.DirectedGraph
    Hakyll.Core.DirectedGraph.Dot
    Hakyll.Core.Identifier
    Hakyll.Core.Identifier.Pattern
    Hakyll.Core.Logger
    Hakyll.Core.Resource
    Hakyll.Core.Resource.Provider
    Hakyll.Core.Resource.Provider.File
    Hakyll.Core.Routes
    Hakyll.Core.Rules
    Hakyll.Core.Run
    Hakyll.Core.Store
    Hakyll.Core.UnixFilter
    Hakyll.Core.Util.Arrow
    Hakyll.Core.Util.File
    Hakyll.Core.Util.String
    Hakyll.Core.Writable
    Hakyll.Core.Writable.CopyFile
    Hakyll.Core.Writable.WritableTuple
    Hakyll.Main
    Hakyll.Web.Blaze
    Hakyll.Web.CompressCss
    Hakyll.Web.Feed
    Hakyll.Web.Page
    Hakyll.Web.Page.List
    Hakyll.Web.Page.Metadata
    Hakyll.Web.Page.Read
    Hakyll.Web.Pandoc
    Hakyll.Web.Pandoc.Biblio
    Hakyll.Web.Pandoc.FileType
    Hakyll.Web.Tags
    Hakyll.Web.Template
    Hakyll.Web.Template.Read
    Hakyll.Web.Urls
    Hakyll.Web.Urls.Relativize
    Hakyll.Web.Util.Html

  Other-Modules:
    Hakyll.Core.Compiler.Internal
    Hakyll.Core.DirectedGraph.Internal
    Hakyll.Core.Rules.Internal
    Hakyll.Web.Page.Internal
    Hakyll.Web.Template.Internal
    Hakyll.Web.Template.Read.Hakyll
    Hakyll.Web.Template.Read.Hamlet
    Paths_hakyll

  If flag(previewServer)
    Build-depends:
      snap-core   >= 0.6 && < 0.9,
      snap-server >= 0.6 && < 0.9
    Cpp-Options:
      -DPREVIEW_SERVER
    Other-Modules:
      Hakyll.Web.Preview.Poll
      Hakyll.Web.Preview.Server

Test-suite hakyll-tests
  Type:           exitcode-stdio-1.0
  Hs-source-dirs: src tests
  Main-is:        TestSuite.hs
  Ghc-options:    -Wall

  Build-Depends:
    HUnit                      >= 1.2 && < 1.3,
    QuickCheck                 >= 2.4 && < 2.5,
    test-framework             >= 0.4 && < 0.7,
    test-framework-hunit       >= 0.2 && < 0.3,
    test-framework-quickcheck2 >= 0.2 && < 0.3,
    -- Copy pasted from hakyll dependencies:
    base        >= 4      && < 5,
    binary      >= 0.5    && < 0.6,
    blaze-html  >= 0.4    && < 0.6,
    bytestring  >= 0.9    && < 0.10,
    citeproc-hs >= 0.3.2  && < 0.4,
    containers  >= 0.3    && < 0.5,
    cryptohash  >= 0.7    && < 0.8,
    directory   >= 1.0    && < 1.2,
    filepath    >= 1.0    && < 1.4,
    hamlet      >= 0.10.3 && < 0.11,
    mtl         >= 1      && < 2.1,
    old-locale  >= 1.0    && < 1.1,
    old-time    >= 1.0    && < 1.2,
    pandoc      >= 1.9    && < 1.10,
    parsec      >= 3.0    && < 3.2,
    process     >= 1.0    && < 1.2,
    regex-base  >= 0.93   && < 0.94,
    regex-tdfa  >= 1.1    && < 1.2,
    tagsoup     >= 0.12.6 && < 0.13,
    text        >= 0.11   && < 0.12,
    time        >= 1.1    && < 1.5,
    unix        >= 2.4    && < 2.6

  Other-modules:
    Hakyll.Web.Util.Html.Tests
    Hakyll.Web.Urls.Relativize.Tests
    Hakyll.Web.Urls.Tests
    Hakyll.Web.Template.Tests
    Hakyll.Web.Page.Metadata.Tests
    Hakyll.Web.Page.Tests
    Hakyll.Core.Compiler.Tests
    Hakyll.Core.Identifier.Tests
    Hakyll.Core.Util.Arrow.Tests
    Hakyll.Core.Util.String.Tests
    Hakyll.Core.UnixFilter.Tests
    Hakyll.Core.Routes.Tests
    Hakyll.Core.Store.Tests
    Hakyll.Core.Rules.Tests
    Hakyll.Core.DependencyAnalyzer.Tests
    TestSuite.Util