name: yesod-mangopay
version: 1.0
cabal-version: >= 1.8
build-type: Simple
author: JP Moresmau <jpmoresmau@gmail.com>
license: BSD3
license-file: LICENSE
copyright: (c) 2014 Prowdsponsor
category: Web
homepage: https://github.com/prowdsponsor/mangopay
maintainer: Prowdsponsor <opensource@prowdsponsor.com>
synopsis: Yesod library for MangoPay API access
description:
This package provides convenince functions when using both
@yesod@ and @mangopay@ packages. It also includes a test
application that is built when the library-only flag is set to
@False@.
source-repository head
type: git
location: git://github.com/prowdsponsor/mangopay.git
Flag dev
Description: Turn on development settings, like auto-reload templates.
Default: False
Flag library-only
Description: Only build the library and not the test application
Default: True
library
ghc-options: -Wall
hs-source-dirs: src
build-depends:
base >= 4 && < 5
, yesod >= 1.2.5 && < 1.3
, yesod-core >= 1.2 && < 1.3
, mangopay == 0.1
, http-conduit >= 2.0 && < 2.1
, time >=1.4.0 && <1.5
, http-types >=0.8.2 && <0.9
, text >=0.11.3 && <0.12
, containers >=0.5.0 && <0.6,
lifted-base >=0.2.1 && <0.3
exposed-modules:
Yesod.MangoPay,
Yesod.MangoPay.Util
executable yesod-mangopay
if flag(library-only)
Buildable: False
main-is: main.hs
hs-source-dirs: app
other-modules:
Application,
Foundation,
Import,
Settings,
Settings.StaticFiles,
Settings.Development,
Handler.Home,
Handler.User,
Base.Util,
Handler.Doc,
Handler.Wallet,
Handler.Card,
Handler.Account,
Handler.Transaction
if flag(dev)
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
build-depends:
yesod-mangopay
, mangopay == 0.1
, base >= 4 && < 5
, yesod >= 1.2.5 && < 1.3
, yesod-core >= 1.2 && < 1.3
, yesod-auth >= 1.2.6 && < 1.3
, yesod-static >= 1.2 && < 1.3
, yesod-form >= 1.3.0 && < 1.4
, yesod-persistent
, bytestring >= 0.9 && < 0.11
, text >= 0.11 && < 2.0
, persistent >= 1.3 && < 1.4
, persistent-postgresql >= 1.3 && < 1.4
, persistent-template >= 1.3 && < 1.4
, template-haskell
, shakespeare
, hamlet >= 1.1 && < 1.2
, shakespeare-css >= 1.0 && < 1.1
, shakespeare-js >= 1.2 && < 1.3
, shakespeare-text >= 1.0 && < 1.1
, hjsmin >= 0.1 && < 0.2
, monad-control >= 0.3 && < 0.4
, wai-extra >= 2.0 && < 2.1
, yaml >= 0.8 && < 0.9
, http-conduit >= 2.0 && < 2.1
, directory >= 1.1 && < 1.3
, warp >= 2.0 && < 2.1
, data-default
, aeson >= 0.6 && < 0.8
, conduit >= 1.0 && < 2.0
, monad-logger >= 0.3 && < 0.4
, fast-logger >= 2.1.4 && < 2.2
, wai-logger >= 2.1 && < 2.2
, time >=1.4.0 && <1.5
, containers >=0.5.0 && <0.6
, wai >=2.0 && <2.1
ghc-options: -threaded -O2