-
Notifications
You must be signed in to change notification settings - Fork 5
/
package.yaml
89 lines (79 loc) · 1.85 KB
/
package.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
name: rollbar-wai
version: 1.1.0
github: "stackbuilders/rollbar-haskell"
license: MIT
author: "Stack Builders Inc."
maintainer: "David Mazarro <[email protected]>"
copyright: "2020-present Stack Builders Inc."
tested-with: GHC ==8.8.4, GHC ==8.10.7, GHC ==9.4.7
extra-source-files:
- README.md
- ChangeLog.md
synopsis: >
Provides error reporting capabilities to WAI based applications through
Rollbar API.
category: Network
description: |
Please see the README on GitHub at
<https://github.com/stackbuilders/rollbar-haskell/tree/master/rollbar-wai>
ghc-options:
- -Wall
dependencies:
- base >= 4.13 && < 5
flags:
example:
description: Build the example
manual: false
default: false
_exe-ghc-options: &exe-ghc-options
- -threaded
- -rtsopts
- -with-rtsopts=-N
library:
source-dirs: src
dependencies:
- aeson >= 2.0 && <3
- bytestring >= 0.10 && < 1
- case-insensitive >= 1.2 && < 2
- http-types >= 0.12 && < 1
- rollbar-client >= 1.0 && < 2
- text >= 1.2 && < 2.1
- unordered-containers >= 0.2 && < 1
- wai >= 3.2 && < 4
- wai-extra >= 3.0 && < 4
executables:
wai-example:
source-dirs: example
main: Main.hs
ghc-options: *exe-ghc-options
dependencies:
- rollbar-client
- rollbar-wai
- wai
- warp
when:
- condition: flag(example)
then:
buildable: true
else:
buildable: false
tests:
spec:
main: Spec.hs
source-dirs: test
ghc-options: *exe-ghc-options
dependencies:
- aeson
- hspec >= 2.7 && < 3
- http-types
- mtl >= 2.2 && < 3
- process >= 1.6 && < 2
- req >= 2.1 && < 4
- rollbar-client
- rollbar-wai
- text
- unordered-containers
- wai
- warp >= 3.3 && < 4
build-tools:
- hspec-discover:hspec-discover >= 2.7 && < 3