packages feed

paypal-adaptive-hoops-0.9.0.0: paypal-adaptive-hoops.cabal

name:                 paypal-adaptive-hoops
version:              0.9.0.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:    Web.PayPal.Adaptive
                      Web.PayPal.Adaptive.Internal
  other-modules:      Web.PayPal.Adaptive.Core
  default-language:   Haskell2010
  ghc-options:        -Wall
  default-extensions: OverloadedStrings
  other-extensions:   GADTs
                    , MultiWayIf
                    , TemplateHaskell

  build-depends:      aeson        >= 0.8   && < 0.9
                    , base         >= 4.6   && < 5.0
                    , bytestring   >= 0.10  && < 0.11
                    , data-default >= 0.5   && < 0.6
                    , errors       >= 1.4   && < 1.5
                    , http-client  >= 0.4.2 && < 0.5
                    , lens         >= 4.6   && < 4.8
                    , 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.4

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

  build-depends:      aeson
                    , base
                    , bytestring
                    , data-default
                    , paypal-adaptive-hoops
                    , text
                    , HUnit                >= 1.2 && < 1.3
                    , test-framework       >= 0.8 && < 0.9
                    , test-framework-hunit >= 0.3 && < 0.4
                    , unordered-containers >= 0.2 && < 0.3

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

  build-depends:      aeson
                    , base
                    , bytestring
                    , data-default
                    , paypal-adaptive-hoops
                    , text
                    , HUnit                >= 1.2 && < 1.3
                    , test-framework       >= 0.8 && < 0.9
                    , test-framework-hunit >= 0.3 && < 0.4
                    , unordered-containers >= 0.2 && < 0.3

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

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

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