packages feed

paypal-adaptive-hoops-0.5.0.0: paypal-adaptive-hoops.cabal

name:                 paypal-adaptive-hoops
version:              0.5.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
extra-source-files:   README.md
license:              MIT
license-file:         MIT-LICENSE.txt
cabal-version:        >=1.10

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
  other-extensions:   GADTs
                    , OverloadedStrings
                    , 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
                    , http-types   >= 0.8   && < 0.9
                    , lens         >= 4.6   && < 4.7
                    , 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 unit
  type:               exitcode-stdio-1.0
  hs-source-dirs:     tests
  main-is:            Test.hs
  default-language:   Haskell2010
  ghc-options:        -Wall
  other-extensions:   OverloadedStrings

  build-depends:      aeson
                    , base >=4.7 && <= 5.0
                    , bytestring
                    , data-default
                    , HUnit
                    , paypal-adaptive-hoops
                    , QuickCheck
                    , test-framework
                    , test-framework-hunit
                    , test-framework-quickcheck2

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

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

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