mangopay-1.0: mangopay.cabal
name: 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: Bindings to the MangoPay API
description:
This package provides Haskell bindings to the
<http://www.mangopay.com/ MangoPay> payment provider.
.
See also the @yesod-mangopay@ package.
source-repository head
type: git
location: git://github.com/prowdsponsor/mangopay.git
flag debug
default: False
description: Print debugging info.
library
hs-source-dirs: src
build-depends:
base >= 4 && < 5
, bytestring >= 0.9 && < 0.11
, text == 0.11.*
, transformers >= 0.2 && < 0.4
, transformers-base
, monad-control
, resourcet
, conduit == 1.0.*
, http-types
, http-conduit == 2.0.*
, attoparsec >= 0.10 && < 0.12
, attoparsec-conduit == 1.0.*
, aeson >= 0.5 && < 0.8
, time
, data-default
, lifted-base
, unordered-containers
, base16-bytestring
, utf8-string >=0.3.7 && <0.4
, base64-bytestring >=1.0.0 && <1.1
, case-insensitive >=1.1.0 && <1.2
ghc-options: -Wall
other-modules:
Web.MangoPay.Access,
Web.MangoPay.Events,
Web.MangoPay.Monad,
Web.MangoPay.Types,
Web.MangoPay.Users,
Web.MangoPay.Wallets,
Web.MangoPay.Documents,
Web.MangoPay.Payins,
Web.MangoPay.Cards,
Web.MangoPay.Refunds,
Web.MangoPay.Payouts,
Web.MangoPay.Accounts
if flag(debug)
cpp-options: -DDEBUG
exposed-modules: Web.MangoPay
executable mangopay-passphrase
build-depends:
base >= 4
, mangopay
, bytestring >= 0.9 && < 0.11
, text == 0.11.*
, transformers >= 0.2 && < 0.4
, transformers-base
, monad-control
, resourcet
, conduit == 1.0.*
, http-types
, http-conduit == 2.0.*
, attoparsec >= 0.10 && < 0.12
, attoparsec-conduit == 1.0.*
, aeson >= 0.5 && < 0.8
, time
, data-default
, lifted-base
, unordered-containers
, base16-bytestring
, utf8-string >=0.3.7 && <0.4
, case-insensitive >=1.1.0 && <1.2
ghc-options: -Wall -rtsopts
hs-source-dirs: exe
main-is: Main.hs
if flag(debug)
cpp-options: -DDEBUG
test-suite mangopay-tests
type: exitcode-stdio-1.0
main-is: mangopay-tests.hs
ghc-options: -Wall -rtsopts -threaded
build-depends:
base >= 4, HTF > 0.9
, mangopay
, bytestring >= 0.9 && < 0.11
, text == 0.11.*
, transformers >= 0.2 && < 0.4
, transformers-base
, monad-control
, resourcet
, conduit == 1.0.*
, http-types
, http-conduit == 2.0.*
, attoparsec >= 0.10 && < 0.12
, attoparsec-conduit == 1.0.*
, aeson >= 0.5 && < 0.8
, time
, data-default
, lifted-base
, unordered-containers
, base16-bytestring
, HUnit >=1.2.5 && <1.3
, utf8-string >=0.3.7 && <0.4
, blaze-builder >=0.3.1 && <0.4
, warp
, wai
, base64-bytestring >=1.0.0 && <1.1
, case-insensitive >=1.1.0 && <1.2
other-modules:
Web.MangoPay.UsersTest,
Web.MangoPay.TestUtils,
Web.MangoPay.WalletsTest,
Web.MangoPay.AccessTest,
Web.MangoPay.DocumentsTest,
Web.MangoPay.PayinsTest,
Web.MangoPay.CardsTest,
Web.MangoPay.RefundsTest,
Web.MangoPay.AccountsTest,
Web.MangoPay.PayoutsTest
hs-source-dirs:
test,
src
if flag(debug)
cpp-options: -DDEBUG