stackage-server/stackage-server.cabal

319 lines
14 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
2015-10-07 17:35:42 +00:00
Stackage.Snapshot.Diff
2015-05-14 11:51:29 +00:00
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
2015-10-11 11:16:10 +00:00
Handler.Feed
Handler.DownloadStack
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:
base >= 4.8 && < 4.9
2016-02-02 03:21:33 +00:00
, aeson >= 0.9 && < 0.10
, aeson-extra >= 0.3 && < 0.4
, aws >= 0.13 && < 0.14
2015-10-15 22:27:13 +00:00
, barrier >= 0.1 && < 0.2
, base16-bytestring >= 0.1 && < 0.2
, blaze-markup >= 0.7 && < 0.8
, byteable >= 0.1 && < 0.2
, bytestring >= 0.10 && < 0.11
2015-10-07 17:35:42 +00:00
, classy-prelude >= 0.12 && < 0.13
, classy-prelude-yesod >= 0.12 && < 0.13
, conduit >= 1.2 && < 1.3
, conduit-extra >= 1.1 && < 1.2
, cryptohash >= 0.11 && < 0.12
, cryptohash-conduit >= 0.1.1 && < 0.2
, data-default >= 0.5 && < 0.6
, directory >= 1.2 && < 1.3
2016-02-02 03:21:33 +00:00
, email-validate >= 2.2 && < 2.3
, esqueleto >= 2.4 && < 2.5
, exceptions >= 0.8 && < 0.9
, fast-logger >= 2.4 && < 2.5
, foreign-store >= 0.2 && < 0.3
, ghc-prim >= 0.4 && < 0.5
, hjsmin >= 0.1 && < 0.2
, html-conduit >= 1.2 && < 1.3
, http-conduit >= 2.1.8 && < 2.2
, monad-control >= 1.0 && < 1.1
, monad-logger >= 0.3.13 && < 0.4
, mtl >= 2.2 && < 2.3
, mwc-random >= 0.13 && < 0.14
, persistent >= 2.2 && < 2.3
, persistent-template >= 2.1 && < 2.2
, resourcet >= 1.1.6 && < 1.2
, shakespeare >= 2.0 && < 2.1
, system-fileio >= 0.3 && < 0.4
, system-filepath >= 0.4 && < 0.5
2016-05-02 11:18:27 +00:00
, tagstream-conduit
2016-02-02 03:21:33 +00:00
, tar >= 0.5 && < 0.6
, template-haskell >= 2.10 && < 2.11
, temporary-rc >= 1.2 && < 1.3
, text >= 1.2 && < 1.3
2015-10-07 17:35:42 +00:00
, these >= 0.6 && < 0.7
2016-02-02 03:21:33 +00:00
, wai >= 3.2 && < 3.3
, wai-extra >= 3.0 && < 3.1
, wai-logger >= 2.2 && < 2.3
2016-02-02 03:21:33 +00:00
, warp >= 3.2 && < 3.3
, xml-conduit >= 1.3 && < 1.4
, yaml >= 0.8 && < 0.9
, yesod >= 1.4 && < 1.5
, yesod-auth >= 1.4 && < 1.5
, yesod-core >= 1.4 && < 1.5
, yesod-form >= 1.4 && < 1.5
2015-10-11 11:16:10 +00:00
, yesod-newsfeed
, yesod-static >= 1.5 && < 1.6
2016-02-02 03:21:33 +00:00
, zlib >= 0.6 && < 0.7
, unordered-containers >= 0.2 && < 0.3
, hashable >= 1.2 && < 1.3
, Cabal >= 1.22 && < 1.23
, lifted-base >= 0.2 && < 0.3
2016-02-02 03:21:33 +00:00
, mono-traversable >= 0.10 && < 0.11
, time >= 1.5 && < 1.6
, process >= 1.2 && < 1.3
, old-locale >= 1.0 && < 1.1
, th-lift >= 0.7 && < 0.8
, mime-types >= 0.1 && < 0.2
, unix >= 2.7 && < 2.8
, markdown >= 0.1.13 && < 0.2
, formatting >= 6.2 && < 6.3
, blaze-html >= 0.8 && < 0.9
, haddock-library >= 1.2.0 && < 1.3
2016-02-02 03:21:33 +00:00
, async >= 2.1 && < 2.2
, yesod-gitrepo >= 0.2 && < 0.3
, hoogle >= 4.2 && < 4.3
, spoon >= 0.3 && < 0.4
, deepseq >= 1.4 && < 1.5
, deepseq-generics >= 0.1 && < 0.2
, auto-update >= 0.1 && < 0.2
2016-02-02 03:21:33 +00:00
, stackage-types >= 1.2 && < 1.3
, stackage-build-plan >= 0.1.1 && < 0.2
, yesod-sitemap >= 1.4 && < 1.5
, streaming-commons >= 0.1 && < 0.2
, classy-prelude-conduit >= 0.12 && < 0.13
, path-pieces >= 0.2 && < 0.3
, persistent-sqlite >= 2.2 && < 2.3
, stackage-metadata >= 0.3 && < 0.4
, filepath >= 1.4 && < 1.5
, http-client >= 0.4 && < 0.5
2016-02-02 03:21:33 +00:00
, http-types >= 0.9 && < 0.10
, amazonka >= 1.3 && < 1.4
, amazonka-core >= 1.3 && < 1.4
, amazonka-s3 >= 1.3 && < 1.4
, lens >= 4.13 && < 4.14
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
2015-10-06 10:18:41 +00:00
build-depends: base >= 4.8 && < 4.9
2014-04-09 07:52:04 +00:00
, stackage-server
2015-10-06 10:18:41 +00:00
, yesod >= 1.4 && < 1.5
2014-04-09 07:52:04 +00:00
2014-08-25 13:55:17 +00:00
ghc-options: -threaded -O2 -rtsopts -with-rtsopts=-N
2014-04-09 07:52:04 +00:00
2016-05-02 11:17:50 +00:00
extensions: TemplateHaskell
QuasiQuotes
OverloadedStrings
NoImplicitPrelude
CPP
MultiParamTypeClasses
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
EmptyDataDecls
NoMonomorphismRestriction
DeriveDataTypeable
ViewPatterns
TypeSynonymInstances
FlexibleInstances
RankNTypes
FunctionalDependencies
PatternGuards
StandaloneDeriving
UndecidableInstances
RecordWildCards
ScopedTypeVariables
BangPatterns
TupleSections
DeriveGeneric
DeriveFunctor
DeriveFoldable
DeriveTraversable
LambdaCase
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
2016-05-02 11:17:50 +00:00
extensions: TemplateHaskell
QuasiQuotes
OverloadedStrings
NoImplicitPrelude
CPP
MultiParamTypeClasses
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
EmptyDataDecls
NoMonomorphismRestriction
DeriveDataTypeable
ViewPatterns
TypeSynonymInstances
FlexibleInstances
RankNTypes
FunctionalDependencies
PatternGuards
StandaloneDeriving
UndecidableInstances
RecordWildCards
ScopedTypeVariables
BangPatterns
TupleSections
DeriveGeneric
DeriveFunctor
DeriveFoldable
DeriveTraversable
LambdaCase
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
2015-10-06 10:18:41 +00:00
build-depends: base >= 4.8 && < 4.9
2014-04-09 07:52:04 +00:00
, stackage-server
2016-02-02 13:08:15 +00:00
, yesod-test >= 1.5 && < 1.6
2015-10-06 10:18:41 +00:00
, yesod-core >= 1.4 && < 1.5
, yesod >= 1.4 && < 1.5
, persistent >= 2.2 && < 2.3
, resourcet >= 1.1.6 && < 1.2
, monad-logger >= 0.3.13 && < 0.4
, transformers >= 0.4 && < 0.5
2016-02-02 13:08:15 +00:00
, hspec >= 2.2 && < 2.3
2015-10-06 10:18:41 +00:00
, classy-prelude-yesod >= 0.12 && < 0.13
, mtl >= 2.2 && < 2.3
, mwc-random >= 0.13 && < 0.14
2016-05-02 11:17:50 +00:00
extensions: TemplateHaskell
QuasiQuotes
OverloadedStrings
NoImplicitPrelude
CPP
MultiParamTypeClasses
TypeFamilies
GADTs
GeneralizedNewtypeDeriving
FlexibleContexts
EmptyDataDecls
NoMonomorphismRestriction
DeriveDataTypeable
ViewPatterns
TypeSynonymInstances
FlexibleInstances
RankNTypes
FunctionalDependencies
PatternGuards
StandaloneDeriving
UndecidableInstances
RecordWildCards
ScopedTypeVariables
BangPatterns
TupleSections
DeriveGeneric
DeriveFunctor
DeriveFoldable
DeriveTraversable
LambdaCase