packages feed

stripe-signature-1.0.0.12: stripe-signature.cabal

cabal-version: 2.0

name: stripe-signature
version: 1.0.0.12

synopsis: Verification of Stripe webhook signatures
category: Web

description:
    When <https://stripe.com/ Stripe> sends an event to your webhook, it
    includes an HTTP header named @Stripe-Signature@. You should use this
    to verify the authenticity of the request to ensure that you are not
    acting upon forged events originating from some source other than
    Stripe.

homepage:    https://github.com/typeclasses/stripe
bug-reports: https://github.com/typeclasses/stripe/issues

author:     Chris Martin
maintainer: Chris Martin, Julie Moronuki

copyright: 2019-2021 Mission Valley Software LLC
license: MIT
license-file: license.txt

build-type: Simple

extra-source-files:
    changelog.md

library
    hs-source-dirs: library
    default-language: Haskell2010
    ghc-options: -Wall

    exposed-modules:
        Stripe.Signature

    build-depends:
        base ^>= 4.10 || ^>= 4.11 || ^>= 4.12 || ^>= 4.13 || ^>= 4.14
          || ^>= 4.15
      , base16-bytestring ^>= 1.0
      , bytestring ^>= 0.10 || ^>= 0.11
      , cryptohash-sha256 ^>= 0.11.101
      , stripe-concepts ^>= 1.0
      , text ^>= 1.2

test-suite test
    default-language: Haskell2010
    hs-source-dirs: test
    type: exitcode-stdio-1.0
    main-is: test.hs
    ghc-options: -Wall

    build-depends:
        base ^>= 4.10 || ^>= 4.11 || ^>= 4.12 || ^>= 4.13 || ^>= 4.14
          || ^>= 4.15
      , base16-bytestring ^>= 1.0
      , bytestring ^>= 0.10 || ^>= 0.11
      , stripe-concepts ^>= 1.0
      , stripe-signature
      , text ^>= 1.2