stackage-server/stackage-server.cabal

219 lines
7.4 KiB
Text
Raw Normal View History

2014-04-09 07:52:04 +00:00
name: stackage-server
version: 0.0.0
cabal-version: >= 1.8
build-type: Simple
Flag dev
Description: Turn on development settings, like auto-reload templates.
Default: False
Flag library-only
Description: Build for use with "yesod devel"
Default: False
library
exposed-modules: Application
Foundation
Import
2014-06-02 12:16:33 +00:00
Echo
2014-04-09 07:52:04 +00:00
Settings
Settings.StaticFiles
Settings.Development
2014-04-09 11:38:54 +00:00
Data.Slug
Data.Tag
Data.GhcLinks
2014-12-09 12:01:38 +00:00
Data.WebsiteContent
Distribution.Package.ModuleForest
Types
2015-05-14 11:51:29 +00:00
-- once stabilized, will likely move into its own package
2015-05-11 17:23:09 +00:00
Stackage.Database
2015-05-13 08:38:38 +00:00
Stackage.Database.Haddock
2015-05-12 05:37:29 +00:00
Stackage.Database.Types
2015-05-14 11:51:29 +00:00
Stackage.Database.Cron
2014-04-09 07:52:04 +00:00
Handler.Home
2014-06-01 11:35:10 +00:00
Handler.Snapshots
2014-04-10 10:48:01 +00:00
Handler.StackageHome
Handler.StackageIndex
Handler.StackageSdist
2014-05-14 05:28:00 +00:00
Handler.System
2014-10-20 11:46:57 +00:00
Handler.Haddock
Handler.Hoogle
2014-10-22 23:29:21 +00:00
Handler.Package
2014-10-22 23:45:32 +00:00
Handler.PackageList
2015-01-06 08:10:47 +00:00
Handler.BuildVersion
2015-03-23 19:02:05 +00:00
Handler.Sitemap
2015-03-26 15:34:58 +00:00
Handler.BuildPlan
Handler.Download
Handler.OldLinks
2014-04-09 07:52:04 +00:00
if flag(dev) || flag(library-only)
cpp-options: -DDEVELOPMENT
ghc-options: -Wall -O0
else
ghc-options: -Wall -O2
extensions: TemplateHaskell
QuasiQuotes
OverloadedStrings
NoImplicitPrelude
CPP
MultiParamTypeClasses
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
EmptyDataDecls
NoMonomorphismRestriction
DeriveDataTypeable
2014-04-09 11:38:54 +00:00
ViewPatterns
TypeSynonymInstances
FlexibleInstances
RankNTypes
FunctionalDependencies
PatternGuards
2014-04-13 05:48:58 +00:00
StandaloneDeriving
UndecidableInstances
2014-10-07 08:52:06 +00:00
RecordWildCards
ScopedTypeVariables
BangPatterns
2015-03-16 07:47:25 +00:00
TupleSections
DeriveGeneric
DeriveFunctor
DeriveFoldable
DeriveTraversable
LambdaCase
2014-04-09 07:52:04 +00:00
2014-10-30 20:13:49 +00:00
build-depends:
2014-11-13 14:52:45 +00:00
base >= 4
2014-10-30 20:13:49 +00:00
, aeson >= 0.6
, aws
, base16-bytestring
, blaze-markup >= 0.6
, byteable
, bytestring >= 0.9
2015-10-05 01:30:42 +00:00
, classy-prelude-yesod >= 0.9.2
2014-10-30 20:13:49 +00:00
, conduit >= 1.0
, conduit-extra
, cryptohash
, cryptohash-conduit >= 0.1.1
, data-default
, directory >= 1.1
, email-validate
, esqueleto
, exceptions
, fast-logger >= 2.1.4
, foreign-store
, ghc-prim
, hjsmin >= 0.1
, html-conduit
, http-conduit >= 2.1.2.3
, monad-control >= 0.3
, monad-logger >= 0.3.6
, mtl >= 2.1
, mwc-random >= 0.13
, persistent >= 1.3.1
, persistent-template >= 1.3
, resourcet >= 1.1.2
, shakespeare >= 2.0
, system-fileio
, system-filepath
, tar >= 0.4
, template-haskell
, temporary-rc >= 1.2
, text >= 0.11
, wai >= 2.1
, wai-extra >= 2.1
, wai-logger >= 2.1
, warp >= 2.1
2015-10-05 01:30:42 +00:00
, xml-conduit
2014-10-30 20:13:49 +00:00
, yaml >= 0.8
, yesod >= 1.2.5
, yesod-auth >= 1.3
, yesod-core >= 1.2.19
, yesod-form >= 1.3.14
2015-10-05 01:30:42 +00:00
, yesod-static >= 1.2
2014-10-30 20:13:49 +00:00
, zlib
2014-11-13 14:52:45 +00:00
, unordered-containers
, hashable
-- Avoid https://github.com/haskell/cabal/issues/1202
, Cabal >= 1.18
2014-04-13 05:48:58 +00:00
, lifted-base
, mono-traversable
2014-04-28 07:20:58 +00:00
, time
, process
2014-06-02 12:16:33 +00:00
, old-locale
, th-lift
2014-10-20 11:46:57 +00:00
, mime-types
, unix
2014-12-12 10:09:20 +00:00
, markdown >= 0.1.13
2014-10-30 20:13:49 +00:00
, formatting
2014-11-17 12:22:06 +00:00
, blaze-html
2015-10-05 01:32:13 +00:00
, haddock-library >= 1.2.0
2015-03-16 07:47:25 +00:00
, async
2015-10-05 01:30:42 +00:00
, yesod-gitrepo >= 0.1.1
, hoogle
, spoon
, deepseq
, deepseq-generics
, auto-update
, stackage-types >= 1.0.1.1
2015-05-10 09:06:02 +00:00
, stackage-build-plan >= 0.1.1
2015-03-23 19:02:05 +00:00
, yesod-sitemap
, streaming-commons
2015-05-11 17:23:09 +00:00
, classy-prelude-conduit
, path-pieces
2015-05-12 05:37:29 +00:00
, persistent-sqlite
2015-05-13 11:55:30 +00:00
, stackage-metadata >= 0.2
2015-05-13 08:38:38 +00:00
, filepath
, http-client
, http-types
2015-05-14 15:10:26 +00:00
, amazonka
, amazonka-core
, amazonka-s3
, lens
2014-04-09 07:52:04 +00:00
executable stackage-server
if flag(library-only)
Buildable: False
main-is: main.hs
hs-source-dirs: app
build-depends: base
, stackage-server
, yesod
2014-08-25 13:55:17 +00:00
ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N
2014-04-09 07:52:04 +00:00
2015-05-14 11:51:29 +00:00
executable stackage-server-cron
2014-11-17 08:35:56 +00:00
if flag(library-only)
Buildable: False
2015-05-14 11:51:29 +00:00
main-is: stackage-server-cron.hs
2014-11-17 08:35:56 +00:00
hs-source-dirs: app
2015-05-14 11:51:29 +00:00
build-depends: base, stackage-server
2014-11-17 08:35:56 +00:00
ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N
2014-04-09 07:52:04 +00:00
test-suite test
type: exitcode-stdio-1.0
main-is: main.hs
hs-source-dirs: test
ghc-options: -Wall
build-depends: base
, stackage-server
, yesod-test >= 1.2
2014-04-09 07:52:04 +00:00
, yesod-core
, yesod
, persistent
, persistent-postgresql
, resourcet
, monad-logger
, transformers
, hspec
2014-04-09 11:38:54 +00:00
, classy-prelude-yesod
, mtl
, mwc-random