packages feed

paypal-adaptive-hoops-0.13.1.0: paypal-adaptive-hoops.cabal

name:                 paypal-adaptive-hoops
version:              0.13.1.0
author:               Ian Grant Jeffries
maintainer:           ian@housejeffries.com
category:             Web
synopsis:             Client for a limited part of PayPal's Adaptive Payments API
homepage:             https://github.com/fanjam/paypal-adaptive-hoops
build-type:           Simple
license:              MIT
license-file:         MIT-LICENSE.txt
cabal-version:        >=1.10
extra-source-files:   README.md
                      tests/Local/json/*.json

library
  hs-source-dirs:     src
  exposed-modules:    PayPal.Adaptive
                      PayPal.Adaptive.Core.Internal
                      PayPal.Adaptive.Deposit
                      PayPal.Adaptive.Lookup
                      PayPal.Adaptive.Withdrawal
  other-modules:      Import
                      PayPal.Adaptive.Core.Client
                      PayPal.Adaptive.Core.Error
                      PayPal.Adaptive.Core.Money
                      PayPal.Adaptive.Core.PayResponse
                      PayPal.Adaptive.Core.PayResponse.PaymentInfo
                      PayPal.Adaptive.Core.PayResponse.PaymentInfo.Receiver
                      PayPal.Adaptive.Core.PayResponse.PaymentInfo.TransactionId
                      PayPal.Adaptive.Core.PayResponse.PaymentInfo.TransactionStatus
                      PayPal.Adaptive.Core.PayResponse.PayKey
                      PayPal.Adaptive.Core.PayResponse.PayStatus
                      PayPal.Adaptive.Core.Processing
  default-language:   Haskell2010
  ghc-options:        -Wall
  default-extensions: OverloadedStrings
  other-extensions:   MultiWayIf
                    , TemplateHaskell

  build-depends:      aeson        >= 0.8   && < 0.10
                    , base         >= 4.6   && < 4.9
                    , bytestring   >= 0.10  && < 0.11
                    , errors       >= 1.4   && < 3.0
                    , http-client  >= 0.4.2 && < 0.5
                    , lens         >= 4.6   && < 5.0
                    , lens-aeson   >= 1.0   && < 1.1
                    , text         >= 1.1   && < 1.3
                    , time         >= 1.4   && < 1.6
                    , transformers >= 0.4   && < 0.5
                    , vector       >= 0.10.12 && < 0.11
                    , wreq         >= 0.3   && < 0.5

test-suite local
  type:               exitcode-stdio-1.0
  hs-source-dirs:     tests
  main-is:            Local.hs
  other-modules:      Import
  default-language:   Haskell2010
  ghc-options:        -Wall
  default-extensions: OverloadedStrings

  build-depends:      aeson
                    , base
                    , bytestring
                    , paypal-adaptive-hoops
                    , text
                    , directory            >= 1.2 && < 1.3
                    , filepath             >= 1.4 && < 1.5
                    , HUnit                >= 1.2 && < 1.3
                    , test-framework       >= 0.8 && < 0.9
                    , test-framework-hunit >= 0.3 && < 0.4

test-suite remote
  type:               exitcode-stdio-1.0
  hs-source-dirs:     tests
  main-is:            Remote.hs
  other-modules:      Import
  default-language:   Haskell2010
  ghc-options:        -Wall
  default-extensions: OverloadedStrings

  build-depends:      aeson
                    , base
                    , bytestring
                    , paypal-adaptive-hoops
                    , text
                    , HUnit
                    , test-framework
                    , test-framework-hunit

executable example
  main-is:            Example.hs
  default-language:   Haskell2010
  ghc-options:        -Wall
  other-extensions:   OverloadedStrings

  build-depends:      base
                    , paypal-adaptive-hoops
                    , text

source-repository head
  type:               git
  location:           git://github.com/fanjam/paypal-adaptive-hoops.git