-- Initial servant-github-webhook.cabal generated by cabal init.  For
-- further documentation, see http://haskell.org/cabal/users-guide/

name:                servant-github-webhook
version:             0.4.2.0
synopsis:            Servant combinators to facilitate writing GitHub webhooks.
description:
  This package provides servant combinators that make writing safe GitHub
  webhooks very simple.
  .
  It features automatic verification of the digital signatures provided by
  GitHub in the webhook HTTP requests as well as route dispatching based on
  repository event type.
homepage:            https://github.com/tsani/servant-github-webhook
license:             MIT
license-file:        LICENSE
author:              Jacob Thomas Errington
maintainer:          servant-github-webhook@mail.jerrington.me
copyright:           Jacob Thomas Errington (c) 2016-2018
category:            Web
build-type:          Simple
tested-with:         GHC == 8.6.5
extra-source-files:
  ChangeLog.md
  README.md
  stack.yaml
cabal-version:       >=1.10
bug-reports:         https://github.com/tsani/servant-github-webhook/issues

source-repository head
  type: git
  location: https://github.com/tsani/servant-github-webhook.git

library
  exposed-modules:
    Servant.GitHub.Webhook
  hs-source-dirs:      src
  default-language:    Haskell2010
  ghc-options:
    -Wall
  build-depends:
    base ==4.*,
    aeson >=0.11,
    base16-bytestring >=0.1,
    bytestring >= 0.10,
    cryptonite >=0.19,
    github >=0.15,
    github-webhooks >=0.9,
    http-types >=0.9,
    unordered-containers >= 0.2,
    memory >=0.13,
    servant >=0.13,
    servant-server >=0.13,
    string-conversions >=0.4,
    text >=1.2,
    transformers,
    wai >=3.2

test-suite multikey
  type:                exitcode-stdio-1.0
  ghc-options:
    -Wall
  hs-source-dirs:      test/multikey
  main-is:             Main.hs
  default-language:    Haskell2010
  build-depends:
    aeson,
    base,
    bytestring,
    servant-server,
    servant-github-webhook,
    wai,
    warp,
    transformers

test-suite singlekey
  type:                exitcode-stdio-1.0
  ghc-options:
    -Wall
  hs-source-dirs:      test/singlekey
  main-is:             Main.hs
  default-language:    Haskell2010
  build-depends:
    aeson,
    base,
    bytestring,
    servant-server,
    servant-github-webhook,
    wai,
    warp,
    transformers

test-suite dynamickey
  type:                exitcode-stdio-1.0
  ghc-options:
    -Wall
  hs-source-dirs:      test/dynamickey
  main-is:             Main.hs
  default-language:    Haskell2010
  build-depends:
    aeson,
    base,
    bytestring,
    servant-server,
    servant-github-webhook,
    text,
    wai,
    warp,
    transformers