summaryrefslogtreecommitdiff
path: root/hakyll.cabal
blob: c6bc04c5affc7e872f73943841609610b565284d (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
Name:               hakyll
Version:            3.0.0.0

Synopsis:           A simple static site generator library.
Description:        A simple static site generator library, mainly aimed at
                    creating blogs and brochure sites.
Author:             Jasper Van der Jeugt
Maintainer:         jaspervdj@gmail.com
Homepage:           http://jaspervdj.be/hakyll
Bug-Reports:        http://github.com/jaspervdj/Hakyll/issues
License:            BSD3
License-File:       LICENSE
Category:           Text
Cabal-Version:      >= 1.6
Data-Dir:           data
Data-Files:         templates/atom.xml
                    templates/atom-item.xml
                    templates/rss.xml
                    templates/rss-item.xml

build-type:         Simple

source-repository head
  type:             git
  location:         git://github.com/jaspervdj/Hakyll.git

flag inotify
  description:      Use the inotify bindings for the preview server. Better, but
                    only works on Linux.
  default:          False

library
  ghc-options:      -Wall
  hs-source-dirs:   src

  if flag(inotify)
    hs-source-dirs: src-inotify
    build-depends:  hinotify >= 0.3
  else
    hs-source-dirs: src-interval

  build-depends:    base >= 4 && < 5,
                    filepath == 1.*,
                    directory == 1.*,
                    containers == 0.*,
                    pandoc == 1.*,
                    regex-base >= 0.93,
                    regex-pcre >= 0.93,
                    mtl >= 1,
                    old-locale == 1.*,
                    old-time == 1.*,
                    time >= 1.1,
                    binary >= 0.5,
                    hamlet >= 0.7,
                    blaze-html >= 0.4,
                    snap-server >= 0.4,
                    snap-core >= 0.4,
                    bytestring >= 0.9,
                    utf8-string >= 0.3,
                    tagsoup >= 0.12,
                    hopenssl >= 1.4,
                    unix >= 2.4,
                    strict-concurrency >= 0.2
  exposed-modules:  Hakyll
                    Hakyll.Main
                    Hakyll.Web.Util.String
                    Hakyll.Web.Preview.Server
                    Hakyll.Web.Preview.Poll
                    Hakyll.Web.CompressCss
                    Hakyll.Web.Template
                    Hakyll.Web.Feed
                    Hakyll.Web.Tags
                    Hakyll.Web.Pandoc
                    Hakyll.Web.FileType
                    Hakyll.Web.Page
                    Hakyll.Web.Template.Read
                    Hakyll.Web.RelativizeUrls
                    Hakyll.Web.Page.Read
                    Hakyll.Web.Page.Metadata
                    Hakyll.Core.ResourceProvider.FileResourceProvider
                    Hakyll.Core.Configuration
                    Hakyll.Core.Identifier.Pattern
                    Hakyll.Core.UnixFilter
                    Hakyll.Core.Util.Arrow
                    Hakyll.Core.Util.File
                    Hakyll.Core.ResourceProvider
                    Hakyll.Core.CompiledItem
                    Hakyll.Core.Compiler
                    Hakyll.Core.CopyFile
                    Hakyll.Core.Run
                    Hakyll.Core.Store
                    Hakyll.Core.Writable
                    Hakyll.Core.Identifier
                    Hakyll.Core.DirectedGraph.Dot
                    Hakyll.Core.DirectedGraph.DependencySolver
                    Hakyll.Core.DirectedGraph
                    Hakyll.Core.Rules
                    Hakyll.Core.Routes
                    Hakyll.Core.Logger
  other-modules:    Paths_hakyll
                    Hakyll.Web.Template.Read.Hakyll
                    Hakyll.Web.Template.Read.Hamlet
                    Hakyll.Web.Template.Internal
                    Hakyll.Web.Page.Internal
                    Hakyll.Core.Compiler.Internal
                    Hakyll.Core.DirectedGraph.Internal
                    Hakyll.Core.Rules.Internal