-- 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.3.0.2
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 2016
category: Web
build-type: Simple
tested-with: GHC == 7.10.2, GHC == 7.10.3, GHC == 8.0.1
extra-source-files:
ChangeLog.md
README.md
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
flag old-base
description: whether to use base-4.8 and transformers rather than base 4.9
default: True
library
exposed-modules:
Servant.GitHub.Webhook
hs-source-dirs: src
default-language: Haskell2010
ghc-options:
-Wall
build-depends:
aeson >=0.11 && <1.1,
base16-bytestring >=0.1 && <0.2,
bytestring >= 0.10 && <0.11,
Crypto >=4.2 && <4.3,
github >=0.15 && <0.16,
http-types >=0.9 && <0.10,
servant >=0.8 && <0.10,
servant-server >=0.8 && <0.10,
string-conversions >=0.4 && <0.5,
text >=1.2 && <1.3,
wai >=3.2 && <3.3
if flag(old-base)
build-depends:
base >=4.8 && <4.9,
transformers >=0.2 && <0.6
else
build-depends:
base >=4.9 && <4.10
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
if flag(old-base)
build-depends:
transformers >=0.2 && <0.6
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
if flag(old-base)
build-depends:
transformers >=0.2 && <0.6