2015-09-26 11:03:12 +00:00
|
|
|
name: eidolon
|
2018-03-19 01:04:50 +00:00
|
|
|
version: 0.1.11.11
|
2015-09-26 11:03:12 +00:00
|
|
|
synopsis: Image gallery in Yesod
|
|
|
|
homepage: https://eidolon.nek0.eu
|
|
|
|
license: AGPL-3
|
2018-03-20 08:45:39 +00:00
|
|
|
license-file: LICENSE
|
2015-09-26 11:03:12 +00:00
|
|
|
author: Amedeo Molnár
|
|
|
|
maintainer: nek0@chelnok.de
|
|
|
|
category: Web
|
|
|
|
extra-source-files: README.md
|
|
|
|
cabal-version: >= 1.10
|
|
|
|
build-type: Simple
|
2014-08-09 18:33:22 +00:00
|
|
|
|
|
|
|
Flag dev
|
|
|
|
Description: Turn on development settings, like auto-reload templates.
|
|
|
|
Default: False
|
2017-07-28 21:01:12 +00:00
|
|
|
manual: True
|
2014-08-09 18:33:22 +00:00
|
|
|
|
|
|
|
Flag library-only
|
|
|
|
Description: Build for use with "yesod devel"
|
|
|
|
Default: False
|
2017-07-28 21:01:12 +00:00
|
|
|
manual: True
|
2014-08-09 18:33:22 +00:00
|
|
|
|
|
|
|
library
|
2016-09-09 19:38:11 +00:00
|
|
|
other-modules: Paths_eidolon
|
2014-08-09 18:33:22 +00:00
|
|
|
exposed-modules: Application
|
|
|
|
Foundation
|
2014-08-14 00:25:18 +00:00
|
|
|
Helper
|
2017-08-06 02:42:31 +00:00
|
|
|
Licence
|
2014-08-09 18:33:22 +00:00
|
|
|
Import
|
|
|
|
Model
|
2017-03-24 16:49:11 +00:00
|
|
|
Scale
|
2014-08-09 18:33:22 +00:00
|
|
|
Settings
|
|
|
|
Settings.StaticFiles
|
|
|
|
Settings.Development
|
|
|
|
Handler.Home
|
2017-04-26 19:43:22 +00:00
|
|
|
Handler.Login
|
2014-08-12 21:45:33 +00:00
|
|
|
Handler.Profile
|
|
|
|
Handler.Upload
|
2014-08-13 22:49:37 +00:00
|
|
|
Handler.NewAlbum
|
2014-08-17 20:59:17 +00:00
|
|
|
Handler.Album
|
2014-08-18 04:06:16 +00:00
|
|
|
Handler.Medium
|
2014-08-28 16:08:56 +00:00
|
|
|
Handler.AlbumSettings
|
2014-08-30 18:25:08 +00:00
|
|
|
Handler.MediumSettings
|
2014-09-05 18:40:12 +00:00
|
|
|
Handler.ProfileSettings
|
|
|
|
Handler.ProfileDelete
|
2014-09-06 06:56:36 +00:00
|
|
|
Handler.Admin
|
|
|
|
Handler.AdminProfileSettings
|
2014-09-07 04:56:34 +00:00
|
|
|
Handler.AdminAlbumSettings
|
2014-09-09 02:25:47 +00:00
|
|
|
Handler.AdminMediumSettings
|
2014-12-21 19:01:03 +00:00
|
|
|
Handler.AdminComments
|
2014-09-14 03:03:13 +00:00
|
|
|
Handler.Tag
|
2014-12-14 19:21:23 +00:00
|
|
|
Handler.RootFeed
|
2014-12-27 22:09:51 +00:00
|
|
|
Handler.Commons
|
2017-10-20 16:49:37 +00:00
|
|
|
Handler.Search
|
2016-09-09 19:38:11 +00:00
|
|
|
Handler.About
|
2014-08-09 18:33:22 +00:00
|
|
|
|
|
|
|
if flag(dev) || flag(library-only)
|
|
|
|
cpp-options: -DDEVELOPMENT
|
|
|
|
ghc-options: -Wall -O0
|
|
|
|
else
|
|
|
|
ghc-options: -Wall -O2
|
|
|
|
|
2015-09-26 11:03:12 +00:00
|
|
|
default-language: Haskell2010
|
|
|
|
default-extensions: TemplateHaskell
|
2014-08-09 18:33:22 +00:00
|
|
|
QuasiQuotes
|
|
|
|
OverloadedStrings
|
|
|
|
NoImplicitPrelude
|
|
|
|
CPP
|
|
|
|
MultiParamTypeClasses
|
|
|
|
TypeFamilies
|
|
|
|
GADTs
|
|
|
|
GeneralizedNewtypeDeriving
|
|
|
|
FlexibleContexts
|
|
|
|
EmptyDataDecls
|
|
|
|
NoMonomorphismRestriction
|
|
|
|
DeriveDataTypeable
|
2014-12-23 04:01:53 +00:00
|
|
|
RecordWildCards
|
|
|
|
ViewPatterns
|
2014-08-09 18:33:22 +00:00
|
|
|
|
2018-03-19 00:01:20 +00:00
|
|
|
build-depends: base >= 4.10
|
2015-09-26 11:03:12 +00:00
|
|
|
, yesod >= 1.4
|
2018-03-19 20:51:14 +00:00
|
|
|
, yesod-core >= 1.6
|
2015-09-26 11:03:12 +00:00
|
|
|
, yesod-static >= 1.5
|
|
|
|
, bytestring >= 0.10
|
|
|
|
, text >= 1.2
|
|
|
|
, persistent >= 2.2
|
|
|
|
, persistent-postgresql >= 2.2
|
2014-08-09 18:33:22 +00:00
|
|
|
, template-haskell
|
2014-08-12 12:42:25 +00:00
|
|
|
, shakespeare >= 2.0
|
|
|
|
, hjsmin >= 0.1
|
|
|
|
, wai-extra >= 3.0
|
|
|
|
, yaml >= 0.8
|
|
|
|
, http-conduit >= 2.1
|
2015-09-26 11:03:12 +00:00
|
|
|
, directory >= 1.2
|
2017-01-25 10:09:38 +00:00
|
|
|
, warp >= 3.1
|
2015-09-26 11:03:12 +00:00
|
|
|
, data-default >= 0.5
|
2018-03-19 00:53:16 +00:00
|
|
|
, aeson >= 1.0
|
2014-08-12 12:42:25 +00:00
|
|
|
, monad-logger >= 0.3
|
2015-09-26 11:03:12 +00:00
|
|
|
, fast-logger >= 2.4
|
2014-12-23 04:01:53 +00:00
|
|
|
-- transition to persisten 2.0
|
2015-09-26 11:03:12 +00:00
|
|
|
, classy-prelude-yesod >= 0.12
|
2014-12-23 04:01:53 +00:00
|
|
|
, file-embed
|
2014-08-12 12:42:25 +00:00
|
|
|
-- custom dependencies
|
2015-09-26 11:03:12 +00:00
|
|
|
, random >= 1.1
|
|
|
|
, mime-mail >= 0.4
|
|
|
|
, blaze-html >= 0.8
|
2014-08-12 12:42:25 +00:00
|
|
|
, filepath
|
2015-09-26 11:03:12 +00:00
|
|
|
, system-filepath >= 0.4
|
|
|
|
, time >= 1.5
|
|
|
|
, transformers >= 0.4
|
|
|
|
, cereal >= 0.4
|
|
|
|
, cryptohash-cryptoapi >= 0.1
|
|
|
|
, crypto-api >= 0.13
|
2016-11-19 09:42:56 +00:00
|
|
|
, cryptonite
|
2016-08-23 16:20:30 +00:00
|
|
|
-- , imagemagick
|
2018-03-19 20:52:33 +00:00
|
|
|
-- , yesod-markdown >= 0.10
|
|
|
|
, yesod-text-markdown >= 0.1.8
|
2017-01-06 17:28:36 +00:00
|
|
|
, markdown
|
2015-09-26 11:03:12 +00:00
|
|
|
, blaze-markup >= 0.7
|
|
|
|
, wai >= 3.0
|
2016-03-02 08:51:42 +00:00
|
|
|
, yesod-newsfeed >= 1.6
|
2015-09-30 02:07:08 +00:00
|
|
|
, unix >= 2.7
|
2016-09-06 14:35:54 +00:00
|
|
|
-- , bloodhound >= 0.11.1
|
2015-10-16 13:32:47 +00:00
|
|
|
, http-types
|
2016-05-04 00:27:24 +00:00
|
|
|
, image-type
|
2016-09-04 17:48:54 +00:00
|
|
|
, JuicyPixels >= 3.2.8
|
2017-08-13 21:04:22 +00:00
|
|
|
, JuicyPixels-extra
|
2016-05-07 19:23:03 +00:00
|
|
|
, JuicyPixels-scale-dct
|
2017-08-13 21:04:22 +00:00
|
|
|
, hsexif
|
2016-07-12 16:48:31 +00:00
|
|
|
, classy-prelude-yesod >= 1.0
|
2017-10-31 08:56:54 +00:00
|
|
|
, poppler
|
|
|
|
, cairo
|
2016-11-19 21:13:02 +00:00
|
|
|
-- svg stuff
|
2017-08-17 02:30:32 +00:00
|
|
|
, rasterific-svg >= 0.3.3
|
2016-11-19 21:13:02 +00:00
|
|
|
, svg-tree
|
|
|
|
, FontyFruity
|
2015-09-28 17:58:49 +00:00
|
|
|
-- for Migrations
|
|
|
|
, HDBC
|
|
|
|
, HDBC-postgresql
|
|
|
|
, text
|
|
|
|
, filepath
|
|
|
|
, system-filepath
|
|
|
|
, bytestring
|
2015-10-16 13:32:47 +00:00
|
|
|
, http-client
|
2016-07-12 16:48:31 +00:00
|
|
|
, yesod-form >= 1.4.7
|
2016-11-20 06:29:05 +00:00
|
|
|
, magic
|
2017-04-26 19:43:22 +00:00
|
|
|
, texmath
|
2017-10-21 19:18:59 +00:00
|
|
|
, fuzzy
|
2017-04-24 05:46:34 +00:00
|
|
|
, yesod-auth
|
2018-03-19 20:51:14 +00:00
|
|
|
, yesod-auth-hmac-keccak >= 0.0.0.5
|
2014-08-09 18:33:22 +00:00
|
|
|
|
|
|
|
executable eidolon
|
|
|
|
if flag(library-only)
|
2015-09-28 17:58:49 +00:00
|
|
|
Buildable: False
|
2014-08-09 18:33:22 +00:00
|
|
|
|
|
|
|
main-is: main.hs
|
|
|
|
hs-source-dirs: app
|
|
|
|
build-depends: base
|
|
|
|
, eidolon
|
|
|
|
, yesod
|
|
|
|
|
|
|
|
ghc-options: -threaded -O2
|