@@ -1,5 +1,5 @@
11Name: hakyll
2−Version: 4.9.5.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,10 +56,6 @@ 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:
6561 CHANGELOG.md
@@ -72,11 +68,16 @@ Extra-source-files:
7268 tests/data/partial.html
7369 tests/data/partial.html.out
7470 tests/data/posts/2010-08-26-birthday.md
71+ tests/data/posts/2018-09-26.md
7572 tests/data/russian.md
7673 tests/data/strip.html
7774 tests/data/strip.html.out
7875 tests/data/template.html
7976 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
8081
8182Source-Repository head
8283 Type: git
@@ -94,24 +95,43 @@ Flag checkExternal
9495 Description: Include external link checking
9596 Default: True
9697
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+
97108Library
98− Ghc-Options: -Wall
99− Hs-Source-Dirs: src
109+ Ghc-Options: -Wall
110+ Hs-Source-Dirs: lib
111+ Default-language: Haskell2010
100112
101113 Exposed-Modules:
102114 Hakyll
103115 Hakyll.Commands
104116 Hakyll.Core.Compiler
117+ Hakyll.Core.Compiler.Internal
105118 Hakyll.Core.Configuration
106119 Hakyll.Core.Dependencies
107120 Hakyll.Core.File
108121 Hakyll.Core.Identifier
109122 Hakyll.Core.Identifier.Pattern
110123 Hakyll.Core.Item
124+ Hakyll.Core.Logger
111125 Hakyll.Core.Metadata
126+ Hakyll.Core.Provider
127+ Hakyll.Core.Provider.Metadata
112128 Hakyll.Core.Routes
113129 Hakyll.Core.Rules
130+ Hakyll.Core.Rules.Internal
131+ Hakyll.Core.Runtime
132+ Hakyll.Core.Store
114133 Hakyll.Core.UnixFilter
134+ Hakyll.Core.Util.File
115135 Hakyll.Core.Util.String
116136 Hakyll.Core.Writable
117137 Hakyll.Main
@@ -119,12 +139,9 @@ Library
119139 Hakyll.Web.Feed
120140 Hakyll.Web.Html
121141 Hakyll.Web.Html.RelativizeUrls
122− Hakyll.Web.Pandoc
123− Hakyll.Web.Pandoc.Biblio
124− Hakyll.Web.Pandoc.FileType
142+ Hakyll.Web.Paginate
125143 Hakyll.Web.Redirect
126144 Hakyll.Web.Tags
127− Hakyll.Web.Paginate
128145 Hakyll.Web.Template
129146 Hakyll.Web.Template.Context
130147 Hakyll.Web.Template.Internal
@@ -136,64 +153,53 @@ Library
136153 Data.List.Extended
137154 Data.Yaml.Extended
138155 Hakyll.Check
139− Hakyll.Core.Compiler.Internal
140156 Hakyll.Core.Compiler.Require
157+ Hakyll.Core.Identifier.Pattern.Internal
141158 Hakyll.Core.Item.SomeItem
142− Hakyll.Core.Logger
143− Hakyll.Core.Provider
144159 Hakyll.Core.Provider.Internal
145− Hakyll.Core.Provider.Metadata
146160 Hakyll.Core.Provider.MetadataCache
147− Hakyll.Core.Rules.Internal
148− Hakyll.Core.Runtime
149− Hakyll.Core.Store
150− Hakyll.Core.Util.File
151161 Hakyll.Core.Util.Parser
152− Hakyll.Web.Pandoc.Binary
153162 Paths_hakyll
154163
155164 Build-Depends:
156− base >= 4.8 && < 5,
157− binary >= 0.5 && < 0.9,
158− blaze-html >= 0.5 && < 0.9,
159− blaze-markup >= 0.5.1 && < 0.8,
160− bytestring >= 0.9 && < 0.11,
161− containers >= 0.3 && < 0.6,
162− cryptohash >= 0.7 && < 0.12,
163− data-default >= 0.4 && < 0.8,
164− deepseq >= 1.3 && < 1.5,
165− directory >= 1.0 && < 1.4,
166− filepath >= 1.0 && < 1.5,
167− lrucache >= 1.1.1 && < 1.3,
168− mtl >= 1 && < 2.3,
169− network >= 2.6 && < 2.7,
170− network-uri >= 2.6 && < 2.7,
171− pandoc >= 1.14 && < 1.20,
172− pandoc-citeproc >= 0.4 && < 0.11,
173− parsec >= 3.0 && < 3.2,
174− process >= 1.0 && < 1.5,
175− random >= 1.0 && < 1.2,
176− regex-base >= 0.93 && < 0.94,
177− regex-tdfa >= 1.1 && < 1.3,
178− resourcet >= 1.1 && < 1.2,
179− scientific >= 0.3.4 && < 0.4,
180− tagsoup >= 0.13.1 && < 0.15,
181− text >= 0.11 && < 1.3,
182− time >= 1.4 && < 1.8,
183− time-locale-compat >= 0.1 && < 0.2,
184− unordered-containers >= 0.2 && < 0.3,
185− vector >= 0.11 && < 0.13,
186− yaml >= 0.8.11 && < 0.9,
187− 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
188195
189196 If flag(previewServer)
190197 Build-depends:
191198 wai >= 3.2 && < 3.3,
192199 warp >= 3.2 && < 3.3,
193200 wai-app-static >= 3.1 && < 3.2,
194− http-types >= 0.9 && < 0.10,
195− fsnotify >= 0.2 && < 0.3,
196− system-filepath >= 0.4.6 && <= 0.5
201+ http-types >= 0.9 && < 0.13,
202+ fsnotify >= 0.2 && < 0.4
197203 Cpp-options:
198204 -DPREVIEW_SERVER
199205 Other-modules:
@@ -202,8 +208,7 @@ Library
202208
203209 If flag(watchServer)
204210 Build-depends:
205− fsnotify >= 0.2 && < 0.3,
206− system-filepath >= 0.4.6 && <= 0.5
211+ fsnotify >= 0.2 && < 0.4
207212 Cpp-options:
208213 -DWATCH_SERVER
209214 Other-modules:
@@ -211,16 +216,31 @@ Library
211216
212217 If flag(checkExternal)
213218 Build-depends:
214− http-conduit >= 2.2 && < 2.3,
215− http-types >= 0.7 && < 0.10
219+ http-conduit >= 2.2 && < 2.4,
220+ http-types >= 0.7 && < 0.13
216221 Cpp-options:
217222 -DCHECK_EXTERNAL
218223
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+
219237Test-suite hakyll-tests
220− Type: exitcode-stdio-1.0
221− Hs-source-dirs: src tests
222− Main-is: TestSuite.hs
223− 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+
224244 Other-modules:
225245 Hakyll.Core.Dependencies.Tests
226246 Hakyll.Core.Identifier.Tests
@@ -235,90 +255,73 @@ Test-suite hakyll-tests
235255 Hakyll.Web.CompressCss.Tests
236256 Hakyll.Web.Html.RelativizeUrls.Tests
237257 Hakyll.Web.Html.Tests
238− Hakyll.Web.Pandoc.FileType.Tests
258+ Hakyll.Web.Tags.Tests
239259 Hakyll.Web.Template.Context.Tests
240260 Hakyll.Web.Template.Tests
241261 TestSuite.Util
242262
243263 Build-Depends:
244− QuickCheck >= 2.8 && < 2.10,
245− tasty >= 0.11 && < 0.12,
246− tasty-hunit >= 0.9 && < 0.10,
247− 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,
248269 -- Copy pasted from hakyll dependencies:
249− base >= 4.8 && < 5,
250− binary >= 0.5 && < 0.9,
251− blaze-html >= 0.5 && < 0.9,
252− blaze-markup >= 0.5.1 && < 0.8,
253− bytestring >= 0.9 && < 0.11,
254− containers >= 0.3 && < 0.6,
255− cryptohash >= 0.7 && < 0.12,
256− data-default >= 0.4 && < 0.8,
257− deepseq >= 1.3 && < 1.5,
258− directory >= 1.0 && < 1.4,
259− filepath >= 1.0 && < 1.5,
260− lrucache >= 1.1.1 && < 1.3,
261− mtl >= 1 && < 2.3,
262− network >= 2.6 && < 2.7,
263− network-uri >= 2.6 && < 2.7,
264− pandoc >= 1.14 && < 1.20,
265− pandoc-citeproc >= 0.4 && < 0.11,
266− parsec >= 3.0 && < 3.2,
267− process >= 1.0 && < 1.5,
268− random >= 1.0 && < 1.2,
269− regex-base >= 0.93 && < 0.94,
270− regex-tdfa >= 1.1 && < 1.3,
271− resourcet >= 1.1 && < 1.2,
272− scientific >= 0.3.4 && < 0.4,
273− tagsoup >= 0.13.1 && < 0.15,
274− text >= 0.11 && < 1.3,
275− time >= 1.4 && < 1.8,
276− time-locale-compat >= 0.1 && < 0.2,
277− unordered-containers >= 0.2 && < 0.3,
278− vector >= 0.11 && < 0.13,
279− yaml >= 0.8.11 && < 0.9,
280− 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
281277
282278 If flag(previewServer)
283− Build-depends:
284− wai >= 3.2 && < 3.3,
285− warp >= 3.2 && < 3.3,
286− wai-app-static >= 3.1 && < 3.2,
287− http-types >= 0.9 && < 0.10,
288− fsnotify >= 0.2 && < 0.3,
289− system-filepath >= 0.4.6 && <= 0.5
290279 Cpp-options:
291280 -DPREVIEW_SERVER
292− Other-modules:
293− Hakyll.Preview.Poll
294− Hakyll.Preview.Server
295281
296282 If flag(watchServer)
297− Build-depends:
298− fsnotify >= 0.2 && < 0.3,
299− system-filepath >= 0.4.6 && <= 0.5
300283 Cpp-options:
301284 -DWATCH_SERVER
302− Other-modules:
303− Hakyll.Preview.Poll
304285
305286 If flag(checkExternal)
306− Build-depends:
307− http-conduit >= 2.2 && < 2.3,
308− http-types >= 0.7 && < 0.10
309287 Cpp-options:
310288 -DCHECK_EXTERNAL
311289
290+ If flag(usePandoc)
291+ Other-modules:
292+ Hakyll.Web.Pandoc.FileType.Tests
293+ Cpp-options:
294+ -DUSE_PANDOC
295+
312296Executable hakyll-init
313− Ghc-options: -Wall
314− Hs-source-dirs: src
315− 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
316304
317305 Build-depends:
306+ hakyll,
318307 base >= 4 && < 5,
319308 directory >= 1.0 && < 1.4,
320309 filepath >= 1.0 && < 1.5
321310
322− Other-modules:
323− Hakyll.Core.Util.File
324− 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