@@ -1,5 +1,5 @@
11Name: hakyll
2−Version: 4.8.3.2
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,19 +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
67+ tests/data/partial-helper.html
68+ tests/data/partial.html
69+ tests/data/partial.html.out
6870 tests/data/posts/2010-08-26-birthday.md
71+ tests/data/posts/2018-09-26.md
6972 tests/data/russian.md
73+ tests/data/strip.html
74+ tests/data/strip.html.out
7075 tests/data/template.html
7176 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
7281
7382Source-Repository head
7483 Type: git
@@ -86,23 +95,43 @@ Flag checkExternal
8695 Description: Include external link checking
8796 Default: True
8897
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+
89108Library
90− Ghc-Options: -Wall
91− Hs-Source-Dirs: src
109+ Ghc-Options: -Wall
110+ Hs-Source-Dirs: lib
111+ Default-language: Haskell2010
92112
93113 Exposed-Modules:
94114 Hakyll
115+ Hakyll.Commands
95116 Hakyll.Core.Compiler
117+ Hakyll.Core.Compiler.Internal
96118 Hakyll.Core.Configuration
97119 Hakyll.Core.Dependencies
98120 Hakyll.Core.File
99121 Hakyll.Core.Identifier
100122 Hakyll.Core.Identifier.Pattern
101123 Hakyll.Core.Item
124+ Hakyll.Core.Logger
102125 Hakyll.Core.Metadata
126+ Hakyll.Core.Provider
127+ Hakyll.Core.Provider.Metadata
103128 Hakyll.Core.Routes
104129 Hakyll.Core.Rules
130+ Hakyll.Core.Rules.Internal
131+ Hakyll.Core.Runtime
132+ Hakyll.Core.Store
105133 Hakyll.Core.UnixFilter
134+ Hakyll.Core.Util.File
106135 Hakyll.Core.Util.String
107136 Hakyll.Core.Writable
108137 Hakyll.Main
@@ -110,79 +139,67 @@ Library
110139 Hakyll.Web.Feed
111140 Hakyll.Web.Html
112141 Hakyll.Web.Html.RelativizeUrls
113− Hakyll.Web.Pandoc
114− Hakyll.Web.Pandoc.Biblio
115− Hakyll.Web.Pandoc.FileType
116− Hakyll.Web.Tags
117142 Hakyll.Web.Paginate
143+ Hakyll.Web.Redirect
144+ Hakyll.Web.Tags
118145 Hakyll.Web.Template
119− Hakyll.Web.Template.Internal
120146 Hakyll.Web.Template.Context
147+ Hakyll.Web.Template.Internal
148+ Hakyll.Web.Template.Internal.Element
149+ Hakyll.Web.Template.Internal.Trim
121150 Hakyll.Web.Template.List
122151
123152 Other-Modules:
124153 Data.List.Extended
125154 Data.Yaml.Extended
126155 Hakyll.Check
127− Hakyll.Commands
128− Hakyll.Core.Compiler.Internal
129156 Hakyll.Core.Compiler.Require
157+ Hakyll.Core.Identifier.Pattern.Internal
130158 Hakyll.Core.Item.SomeItem
131− Hakyll.Core.Logger
132− Hakyll.Core.Provider
133159 Hakyll.Core.Provider.Internal
134− Hakyll.Core.Provider.Metadata
135160 Hakyll.Core.Provider.MetadataCache
136− Hakyll.Core.Rules.Internal
137− Hakyll.Core.Runtime
138− Hakyll.Core.Store
139− Hakyll.Core.Util.File
140161 Hakyll.Core.Util.Parser
141− Hakyll.Web.Pandoc.Binary
142162 Paths_hakyll
143163
144164 Build-Depends:
145− base >= 4.8 && < 5,
146− binary >= 0.5 && < 0.9,
147− blaze-html >= 0.5 && < 0.9,
148− blaze-markup >= 0.5.1 && < 0.8,
149− bytestring >= 0.9 && < 0.11,
150− containers >= 0.3 && < 0.6,
151− cryptohash >= 0.7 && < 0.12,
152− data-default >= 0.4 && < 0.8,
153− deepseq >= 1.3 && < 1.5,
154− directory >= 1.0 && < 1.3,
155− filepath >= 1.0 && < 1.5,
156− lrucache >= 1.1.1 && < 1.3,
157− mtl >= 1 && < 2.3,
158− network >= 2.6 && < 2.7,
159− network-uri >= 2.6 && < 2.7,
160− pandoc >= 1.14 && < 1.18,
161− pandoc-citeproc >= 0.4 && < 0.11,
162− parsec >= 3.0 && < 3.2,
163− process >= 1.0 && < 1.5,
164− random >= 1.0 && < 1.2,
165− regex-base >= 0.93 && < 0.94,
166− regex-tdfa >= 1.1 && < 1.3,
167− resourcet >= 1.1 && < 1.2,
168− scientific >= 0.3.4 && < 0.4,
169− tagsoup >= 0.13.1 && < 0.15,
170− text >= 0.11 && < 1.3,
171− time >= 1.4 && < 1.7,
172− time-locale-compat >= 0.1 && < 0.2,
173− unordered-containers >= 0.2 && < 0.3,
174− vector >= 0.11 && < 0.12,
175− yaml >= 0.8 && < 0.9,
176− optparse-applicative >= 0.12 && < 0.13
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
177195
178196 If flag(previewServer)
179197 Build-depends:
180198 wai >= 3.2 && < 3.3,
181199 warp >= 3.2 && < 3.3,
182200 wai-app-static >= 3.1 && < 3.2,
183− http-types >= 0.9 && < 0.10,
184− fsnotify >= 0.2 && < 0.3,
185− system-filepath >= 0.4.6 && <= 0.5
201+ http-types >= 0.9 && < 0.13,
202+ fsnotify >= 0.2 && < 0.4
186203 Cpp-options:
187204 -DPREVIEW_SERVER
188205 Other-modules:
@@ -191,8 +208,7 @@ Library
191208
192209 If flag(watchServer)
193210 Build-depends:
194− fsnotify >= 0.2 && < 0.3,
195− system-filepath >= 0.4.6 && <= 0.5
211+ fsnotify >= 0.2 && < 0.4
196212 Cpp-options:
197213 -DWATCH_SERVER
198214 Other-modules:
@@ -200,16 +216,31 @@ Library
200216
201217 If flag(checkExternal)
202218 Build-depends:
203− http-conduit >= 2.1 && < 2.2,
204− http-types >= 0.7 && < 0.10
219+ http-conduit >= 2.2 && < 2.4,
220+ http-types >= 0.7 && < 0.13
205221 Cpp-options:
206222 -DCHECK_EXTERNAL
207223
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+
208237Test-suite hakyll-tests
209− Type: exitcode-stdio-1.0
210− Hs-source-dirs: src tests
211− Main-is: TestSuite.hs
212− 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+
213244 Other-modules:
214245 Hakyll.Core.Dependencies.Tests
215246 Hakyll.Core.Identifier.Tests
@@ -221,94 +252,76 @@ Test-suite hakyll-tests
221252 Hakyll.Core.Store.Tests
222253 Hakyll.Core.UnixFilter.Tests
223254 Hakyll.Core.Util.String.Tests
255+ Hakyll.Web.CompressCss.Tests
224256 Hakyll.Web.Html.RelativizeUrls.Tests
225257 Hakyll.Web.Html.Tests
226− Hakyll.Web.Pandoc.FileType.Tests
258+ Hakyll.Web.Tags.Tests
227259 Hakyll.Web.Template.Context.Tests
228260 Hakyll.Web.Template.Tests
229261 TestSuite.Util
230262
231263 Build-Depends:
232− HUnit >= 1.2 && < 1.4,
233− QuickCheck >= 2.4 && < 2.9,
234− test-framework >= 0.4 && < 0.9,
235− test-framework-hunit >= 0.3 && < 0.4,
236− test-framework-quickcheck2 >= 0.3 && < 0.4,
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,
237269 -- Copy pasted from hakyll dependencies:
238− base >= 4.8 && < 5,
239− binary >= 0.5 && < 0.9,
240− blaze-html >= 0.5 && < 0.9,
241− blaze-markup >= 0.5.1 && < 0.8,
242− bytestring >= 0.9 && < 0.11,
243− cmdargs >= 0.10 && < 0.11,
244− containers >= 0.3 && < 0.6,
245− cryptohash >= 0.7 && < 0.12,
246− data-default >= 0.4 && < 0.8,
247− deepseq >= 1.3 && < 1.5,
248− directory >= 1.0 && < 1.3,
249− filepath >= 1.0 && < 1.5,
250− lrucache >= 1.1.1 && < 1.3,
251− mtl >= 1 && < 2.3,
252− network >= 2.6 && < 2.7,
253− network-uri >= 2.6 && < 2.7,
254− pandoc >= 1.14 && < 1.18,
255− pandoc-citeproc >= 0.4 && < 0.11,
256− parsec >= 3.0 && < 3.2,
257− process >= 1.0 && < 1.5,
258− random >= 1.0 && < 1.2,
259− regex-base >= 0.93 && < 0.94,
260− regex-tdfa >= 1.1 && < 1.3,
261− resourcet >= 1.1 && < 1.2,
262− scientific >= 0.3.4 && < 0.4,
263− tagsoup >= 0.13.1 && < 0.15,
264− text >= 0.11 && < 1.3,
265− time >= 1.4 && < 1.7,
266− time-locale-compat >= 0.1 && < 0.2,
267− unordered-containers >= 0.2 && < 0.3,
268− vector >= 0.11 && < 0.12,
269− yaml >= 0.8 && < 0.9,
270− optparse-applicative >= 0.12 && < 0.13
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
271277
272278 If flag(previewServer)
273− Build-depends:
274− wai >= 3.2 && < 3.3,
275− warp >= 3.2 && < 3.3,
276− wai-app-static >= 3.1 && < 3.2,
277− http-types >= 0.9 && < 0.10,
278− fsnotify >= 0.2 && < 0.3,
279− system-filepath >= 0.4.6 && <= 0.5
280279 Cpp-options:
281280 -DPREVIEW_SERVER
282− Other-modules:
283− Hakyll.Preview.Poll
284− Hakyll.Preview.Server
285281
286282 If flag(watchServer)
287− Build-depends:
288− fsnotify >= 0.2 && < 0.3,
289− system-filepath >= 0.4.6 && <= 0.5
290283 Cpp-options:
291284 -DWATCH_SERVER
292− Other-modules:
293− Hakyll.Preview.Poll
294285
295286 If flag(checkExternal)
296− Build-depends:
297− http-conduit >= 2.1 && < 2.2,
298− http-types >= 0.7 && < 0.10
299287 Cpp-options:
300288 -DCHECK_EXTERNAL
301289
290+ If flag(usePandoc)
291+ Other-modules:
292+ Hakyll.Web.Pandoc.FileType.Tests
293+ Cpp-options:
294+ -DUSE_PANDOC
295+
302296Executable hakyll-init
303− Ghc-options: -Wall
304− Hs-source-dirs: src
305− 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
306304
307305 Build-depends:
306+ hakyll,
308307 base >= 4 && < 5,
309− directory >= 1.0 && < 1.3,
308+ directory >= 1.0 && < 1.4,
310309 filepath >= 1.0 && < 1.5
311310
312− Other-modules:
313− Hakyll.Core.Util.File
314− 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