name: yesod-mangopay
version: 1.7.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 convenience 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
Flag conduit11
Description: conduit >= 1.1
library
ghc-options: -Wall
hs-source-dirs: src
build-depends:
base >= 4 && < 5
, mangopay == 1.8.*
, containers >= 0.5 && < 0.6
, http-conduit >= 2.0 && < 2.2
, http-types >= 0.8.2 && < 0.9
, lifted-base >= 0.2.1 && < 0.3
, text >= 0.11.3
, time >= 1.4.0 && < 1.5
, yesod >= 1.2.5 && < 1.3
, yesod-core >= 1.2 && < 1.3
, persistent-template >=1.3.1 && <1.4
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:
base, containers, http-conduit, mangopay, text,
time, yesod, yesod-core
, yesod-mangopay
, aeson >= 0.6 && < 0.8
, bytestring >= 0.9 && < 0.11
, data-default
, directory >= 1.1 && < 1.3
, fast-logger >= 2.1.4 && < 2.2
, hamlet
, hjsmin >= 0.1 && < 0.2
, monad-control >= 0.3 && < 0.4
, monad-logger >= 0.3 && < 0.4
, persistent >= 1.3 && < 1.4
, persistent-postgresql >= 1.3 && < 1.4
, persistent-template >= 1.3 && < 1.4
, resourcet
, shakespeare
, shakespeare-css
, shakespeare-js
, shakespeare-text
, template-haskell
, wai >= 2.1 && < 3.1
, wai-extra
, wai-logger >= 2.1 && < 2.2
, warp >= 2.1 && < 3.1
, yaml >= 0.8 && < 0.9
, yesod-auth >= 1.2.6
, yesod-form >= 1.3.0 && < 1.4
, yesod-persistent
, yesod-static >= 1.2 && < 1.3
, lifted-base >=0.2.2 && <0.3
, country-codes == 0.1.*
if flag(conduit11)
build-depends:
conduit == 1.1.*
, conduit-extra == 1.1.*
else
build-depends:
conduit == 1.0.*
ghc-options: -threaded -O2