@@ -1,5 +1,5 @@
11Name: hakyll
2−Version: 4.9.1.0
2+Version: 4.13.0.0
33
44Synopsis: A static website compiler library
55Description:
@@ -37,7 +37,7 @@ License: BSD3
3737License-File: LICENSE
3838Category: Web
3939
40−Cabal-Version: >= 1.8
40+Cabal-Version: >= 1.10
4141Build-Type: Simple
4242Data-Dir: data
4343
@@ -56,24 +56,28 @@ Data-files:
5656 example/index.html
5757 example/about.rst
5858 example/contact.markdown
59− templates/atom-item.xml
60− templates/atom.xml
61− templates/rss-item.xml
62− templates/rss.xml
6359
6460Extra-source-files:
61+ CHANGELOG.md
6562 tests/data/example.md
6663 tests/data/example.md.metadata
6764 tests/data/images/favicon.ico
65+ tests/data/just-meta.html
66+ tests/data/just-meta.html.out
6867 tests/data/partial-helper.html
6968 tests/data/partial.html
7069 tests/data/partial.html.out
7170 tests/data/posts/2010-08-26-birthday.md
71+ tests/data/posts/2018-09-26.md
7272 tests/data/russian.md
7373 tests/data/strip.html
7474 tests/data/strip.html.out
7575 tests/data/template.html
7676 tests/data/template.html.out
77+ data/templates/atom-item.xml
78+ data/templates/atom.xml
79+ data/templates/rss-item.xml
80+ data/templates/rss.xml
7781
7882Source-Repository head
7983 Type: git
@@ -91,23 +95,43 @@ Flag checkExternal
9195 Description: Include external link checking
9296 Default: True
9397
98+Flag buildWebsite
99+ Description: Build the hakyll website
100+ Default: False
101+ Manual: True
102+
103+Flag usePandoc
104+ Description: Include Pandoc support
105+ Default: True
106+ Manual: True
107+
94108Library
95− Ghc-Options: -Wall
96− Hs-Source-Dirs: src
109+ Ghc-Options: -Wall
110+ Hs-Source-Dirs: lib
111+ Default-language: Haskell2010
97112
98113 Exposed-Modules:
99114 Hakyll
115+ Hakyll.Commands
100116 Hakyll.Core.Compiler
117+ Hakyll.Core.Compiler.Internal
101118 Hakyll.Core.Configuration
102119 Hakyll.Core.Dependencies
103120 Hakyll.Core.File
104121 Hakyll.Core.Identifier
105122 Hakyll.Core.Identifier.Pattern
106123 Hakyll.Core.Item
124+ Hakyll.Core.Logger
107125 Hakyll.Core.Metadata
126+ Hakyll.Core.Provider
127+ Hakyll.Core.Provider.Metadata
108128 Hakyll.Core.Routes
109129 Hakyll.Core.Rules
130+ Hakyll.Core.Rules.Internal
131+ Hakyll.Core.Runtime
132+ Hakyll.Core.Store
110133 Hakyll.Core.UnixFilter
134+ Hakyll.Core.Util.File
111135 Hakyll.Core.Util.String
112136 Hakyll.Core.Writable
113137 Hakyll.Main
@@ -115,11 +139,9 @@ Library
115139 Hakyll.Web.Feed
116140 Hakyll.Web.Html
117141 Hakyll.Web.Html.RelativizeUrls
118− Hakyll.Web.Pandoc
119− Hakyll.Web.Pandoc.Biblio
120− Hakyll.Web.Pandoc.FileType
121− Hakyll.Web.Tags
122142 Hakyll.Web.Paginate
143+ Hakyll.Web.Redirect
144+ Hakyll.Web.Tags
123145 Hakyll.Web.Template
124146 Hakyll.Web.Template.Context
125147 Hakyll.Web.Template.Internal
@@ -131,65 +153,53 @@ Library
131153 Data.List.Extended
132154 Data.Yaml.Extended
133155 Hakyll.Check
134− Hakyll.Commands
135− Hakyll.Core.Compiler.Internal
136156 Hakyll.Core.Compiler.Require
157+ Hakyll.Core.Identifier.Pattern.Internal
137158 Hakyll.Core.Item.SomeItem
138− Hakyll.Core.Logger
139− Hakyll.Core.Provider
140159 Hakyll.Core.Provider.Internal
141− Hakyll.Core.Provider.Metadata
142160 Hakyll.Core.Provider.MetadataCache
143− Hakyll.Core.Rules.Internal
144− Hakyll.Core.Runtime
145− Hakyll.Core.Store
146− Hakyll.Core.Util.File
147161 Hakyll.Core.Util.Parser
148− Hakyll.Web.Pandoc.Binary
149162 Paths_hakyll
150163
151164 Build-Depends:
152− base >= 4.8 && < 5,
153− binary >= 0.5 && < 0.9,
154− blaze-html >= 0.5 && < 0.9,
155− blaze-markup >= 0.5.1 && < 0.8,
156− bytestring >= 0.9 && < 0.11,
157− containers >= 0.3 && < 0.6,
158− cryptohash >= 0.7 && < 0.12,
159− data-default >= 0.4 && < 0.8,
160− deepseq >= 1.3 && < 1.5,
161− directory >= 1.0 && < 1.3,
162− filepath >= 1.0 && < 1.5,
163− lrucache >= 1.1.1 && < 1.3,
164− mtl >= 1 && < 2.3,
165− network >= 2.6 && < 2.7,
166− network-uri >= 2.6 && < 2.7,
167− pandoc >= 1.14 && < 1.19,
168− pandoc-citeproc >= 0.4 && < 0.11,
169− parsec >= 3.0 && < 3.2,
170− process >= 1.0 && < 1.5,
171− random >= 1.0 && < 1.2,
172− regex-base >= 0.93 && < 0.94,
173− regex-tdfa >= 1.1 && < 1.3,
174− resourcet >= 1.1 && < 1.2,
175− scientific >= 0.3.4 && < 0.4,
176− tagsoup >= 0.13.1 && < 0.15,
177− text >= 0.11 && < 1.3,
178− time >= 1.4 && < 1.7,
179− time-locale-compat >= 0.1 && < 0.2,
180− unordered-containers >= 0.2 && < 0.3,
181− vector >= 0.11 && < 0.12,
182− yaml >= 0.8.11 && < 0.9,
183− optparse-applicative >= 0.12 && < 0.14
165+ base >= 4.8 && < 5,
166+ binary >= 0.5 && < 0.10,
167+ blaze-html >= 0.5 && < 0.10,
168+ blaze-markup >= 0.5.1 && < 0.9,
169+ bytestring >= 0.9 && < 0.11,
170+ containers >= 0.3 && < 0.7,
171+ cryptohash >= 0.7 && < 0.12,
172+ data-default >= 0.4 && < 0.8,
173+ deepseq >= 1.3 && < 1.5,
174+ directory >= 1.0 && < 1.4,
175+ file-embed >= 0.0.10.1 && < 0.0.12,
176+ filepath >= 1.0 && < 1.5,
177+ lrucache >= 1.1.1 && < 1.3,
178+ mtl >= 1 && < 2.3,
179+ network-uri >= 2.6 && < 2.7,
180+ optparse-applicative >= 0.12 && < 0.15,
181+ parsec >= 3.0 && < 3.2,
182+ process >= 1.6 && < 1.7,
183+ random >= 1.0 && < 1.2,
184+ regex-tdfa >= 1.1 && < 1.3,
185+ resourcet >= 1.1 && < 1.3,
186+ scientific >= 0.3.4 && < 0.4,
187+ tagsoup >= 0.13.1 && < 0.15,
188+ template-haskell >= 2.14 && < 2.15,
189+ text >= 0.11 && < 1.3,
190+ time >= 1.8 && < 1.10,
191+ time-locale-compat >= 0.1 && < 0.2,
192+ unordered-containers >= 0.2 && < 0.3,
193+ vector >= 0.11 && < 0.13,
194+ yaml >= 0.8.11 && < 0.12
184195
185196 If flag(previewServer)
186197 Build-depends:
187198 wai >= 3.2 && < 3.3,
188199 warp >= 3.2 && < 3.3,
189200 wai-app-static >= 3.1 && < 3.2,
190− http-types >= 0.9 && < 0.10,
191− fsnotify >= 0.2 && < 0.3,
192− system-filepath >= 0.4.6 && <= 0.5
201+ http-types >= 0.9 && < 0.13,
202+ fsnotify >= 0.2 && < 0.4
193203 Cpp-options:
194204 -DPREVIEW_SERVER
195205 Other-modules:
@@ -198,8 +208,7 @@ Library
198208
199209 If flag(watchServer)
200210 Build-depends:
201− fsnotify >= 0.2 && < 0.3,
202− system-filepath >= 0.4.6 && <= 0.5
211+ fsnotify >= 0.2 && < 0.4
203212 Cpp-options:
204213 -DWATCH_SERVER
205214 Other-modules:
@@ -207,16 +216,31 @@ Library
207216
208217 If flag(checkExternal)
209218 Build-depends:
210− http-conduit >= 2.2 && < 2.3,
211− http-types >= 0.7 && < 0.10
219+ http-conduit >= 2.2 && < 2.4,
220+ http-types >= 0.7 && < 0.13
212221 Cpp-options:
213222 -DCHECK_EXTERNAL
214223
224+ If flag(usePandoc)
225+ Exposed-Modules:
226+ Hakyll.Web.Pandoc
227+ Hakyll.Web.Pandoc.Biblio
228+ Hakyll.Web.Pandoc.FileType
229+ Other-Modules:
230+ Hakyll.Web.Pandoc.Binary
231+ Build-Depends:
232+ pandoc >= 2.0.5 && < 2.8,
233+ pandoc-citeproc >= 0.14 && < 0.17
234+ Cpp-options:
235+ -DUSE_PANDOC
236+
215237Test-suite hakyll-tests
216− Type: exitcode-stdio-1.0
217− Hs-source-dirs: src tests
218− Main-is: TestSuite.hs
219− Ghc-options: -Wall
238+ Type: exitcode-stdio-1.0
239+ Hs-source-dirs: tests
240+ Main-is: TestSuite.hs
241+ Ghc-options: -Wall -threaded
242+ Default-language: Haskell2010
243+
220244 Other-modules:
221245 Hakyll.Core.Dependencies.Tests
222246 Hakyll.Core.Identifier.Tests
@@ -231,90 +255,73 @@ Test-suite hakyll-tests
231255 Hakyll.Web.CompressCss.Tests
232256 Hakyll.Web.Html.RelativizeUrls.Tests
233257 Hakyll.Web.Html.Tests
234− Hakyll.Web.Pandoc.FileType.Tests
258+ Hakyll.Web.Tags.Tests
235259 Hakyll.Web.Template.Context.Tests
236260 Hakyll.Web.Template.Tests
237261 TestSuite.Util
238262
239263 Build-Depends:
240− QuickCheck >= 2.8 && < 2.10,
241− tasty >= 0.11 && < 0.12,
242− tasty-hunit >= 0.9 && < 0.10,
243− tasty-quickcheck >= 0.8 && < 0.9,
264+ hakyll,
265+ QuickCheck >= 2.8 && < 2.14,
266+ tasty >= 0.11 && < 1.3,
267+ tasty-hunit >= 0.9 && < 0.11,
268+ tasty-quickcheck >= 0.8 && < 0.11,
244269 -- Copy pasted from hakyll dependencies:
245− base >= 4.8 && < 5,
246− binary >= 0.5 && < 0.9,
247− blaze-html >= 0.5 && < 0.9,
248− blaze-markup >= 0.5.1 && < 0.8,
249− bytestring >= 0.9 && < 0.11,
250− containers >= 0.3 && < 0.6,
251− cryptohash >= 0.7 && < 0.12,
252− data-default >= 0.4 && < 0.8,
253− deepseq >= 1.3 && < 1.5,
254− directory >= 1.0 && < 1.3,
255− filepath >= 1.0 && < 1.5,
256− lrucache >= 1.1.1 && < 1.3,
257− mtl >= 1 && < 2.3,
258− network >= 2.6 && < 2.7,
259− network-uri >= 2.6 && < 2.7,
260− pandoc >= 1.14 && < 1.19,
261− pandoc-citeproc >= 0.4 && < 0.11,
262− parsec >= 3.0 && < 3.2,
263− process >= 1.0 && < 1.5,
264− random >= 1.0 && < 1.2,
265− regex-base >= 0.93 && < 0.94,
266− regex-tdfa >= 1.1 && < 1.3,
267− resourcet >= 1.1 && < 1.2,
268− scientific >= 0.3.4 && < 0.4,
269− tagsoup >= 0.13.1 && < 0.15,
270− text >= 0.11 && < 1.3,
271− time >= 1.4 && < 1.7,
272− time-locale-compat >= 0.1 && < 0.2,
273− unordered-containers >= 0.2 && < 0.3,
274− vector >= 0.11 && < 0.12,
275− yaml >= 0.8.11 && < 0.9,
276− optparse-applicative >= 0.12 && < 0.14
270+ base >= 4.8 && < 5,
271+ bytestring >= 0.9 && < 0.11,
272+ containers >= 0.3 && < 0.7,
273+ filepath >= 1.0 && < 1.5,
274+ text >= 0.11 && < 1.3,
275+ unordered-containers >= 0.2 && < 0.3,
276+ yaml >= 0.8.11 && < 0.12
277277
278278 If flag(previewServer)
279− Build-depends:
280− wai >= 3.2 && < 3.3,
281− warp >= 3.2 && < 3.3,
282− wai-app-static >= 3.1 && < 3.2,
283− http-types >= 0.9 && < 0.10,
284− fsnotify >= 0.2 && < 0.3,
285− system-filepath >= 0.4.6 && <= 0.5
286279 Cpp-options:
287280 -DPREVIEW_SERVER
288− Other-modules:
289− Hakyll.Preview.Poll
290− Hakyll.Preview.Server
291281
292282 If flag(watchServer)
293− Build-depends:
294− fsnotify >= 0.2 && < 0.3,
295− system-filepath >= 0.4.6 && <= 0.5
296283 Cpp-options:
297284 -DWATCH_SERVER
298− Other-modules:
299− Hakyll.Preview.Poll
300285
301286 If flag(checkExternal)
302− Build-depends:
303− http-conduit >= 2.2 && < 2.3,
304− http-types >= 0.7 && < 0.10
305287 Cpp-options:
306288 -DCHECK_EXTERNAL
307289
290+ If flag(usePandoc)
291+ Other-modules:
292+ Hakyll.Web.Pandoc.FileType.Tests
293+ Cpp-options:
294+ -DUSE_PANDOC
295+
308296Executable hakyll-init
309− Ghc-options: -Wall
310− Hs-source-dirs: src
311− Main-is: Hakyll/Init.hs
297+ Main-is: Init.hs
298+ Ghc-options: -Wall -threaded
299+ Hs-source-dirs: src
300+ Default-language: Haskell2010
301+
302+ Other-modules:
303+ Paths_hakyll
312304
313305 Build-depends:
306+ hakyll,
314307 base >= 4 && < 5,
315− directory >= 1.0 && < 1.3,
308+ directory >= 1.0 && < 1.4,
316309 filepath >= 1.0 && < 1.5
317310
318− Other-modules:
319− Hakyll.Core.Util.File
320− Paths_hakyll
311+Executable hakyll-website
312+ Main-is: site.hs
313+ Ghc-options: -Wall -threaded
314+ Hs-source-dirs: web
315+ Default-language: Haskell2010
316+
317+ If flag(buildWebsite)
318+ Buildable: True
319+ Else
320+ Buildable: False
321+
322+ Build-depends:
323+ hakyll,
324+ base >= 4 && < 5,
325+ directory >= 1.0 && < 1.4,
326+ filepath >= 1.0 && < 1.5,
327+ pandoc >= 2.0.5 && < 2.8