-
Notifications
You must be signed in to change notification settings - Fork 1
/
alerta.cabal
101 lines (94 loc) · 3.92 KB
/
alerta.cabal
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
90
91
92
93
94
95
96
97
98
99
100
101
name: alerta
version: 0.2.0.0
synopsis: Bindings to the alerta REST API
homepage: https://github.com/mjhopkins/alerta-client
bug-reports: https://github.com/mjhopkins/alerta-client/issues
license: BSD3
license-file: LICENSE
author: Mark Hopkins
maintainer: [email protected]
copyright: Mark Hopkins
category: Monitoring, API, Web
build-type: Simple
stability: experimental
extra-source-files: README.md CHANGELOG.md
cabal-version: >= 1.10
description:
<http://alerta.io Alerta> is an alert monitoring tool developed by the
<https://www.theguardian.com Guardian> newspaper
.
This package supplies bindings to the alerta REST API so that it can be used
from Haskell.
.
Built with <http://hackage.haskell.org/package/servant Servant>.
flag servant-client-core
description: Use servant-client-core
default: True
manual: False
library
hs-source-dirs: src
exposed-modules: Alerta
other-modules: Alerta.Auth
, Alerta.Helpers
, Alerta.Response
, Alerta.ServantExtras
, Alerta.Types
, Alerta.Util
, Control.Monad.Trans.Response
build-depends: aeson >= 1.0.2.1 && < 1.3
, aeson-pretty >= 0.8 && < 0.9
, base >= 4.7 && < 5
, containers >= 0.5 && < 0.6
, data-default >= 0.7 && < 0.8
, http-api-data >= 0.3 && < 0.4
, http-client >= 0.5 && < 0.6
, lens
, servant >= 0.10 && < 0.13
, servant-client >= 0.10 && < 0.13
, servant-server >= 0.10 && < 0.13
, text >= 1.2.2 && < 1.3
, time >= 1.6 && < 1.9
, transformers >= 0.5 && < 0.6
, unordered-containers >= 0.1.0.0 && < 1.0.0.0
, vector >= 0.12.0.0 && < 0.13.0.0
if flag(servant-client-core)
cpp-options: -DHAS_CLIENT_CORE=1
build-depends:
servant-client-core >= 0.12 && < 0.13
else
build-depends:
servant-client >= 0.10 && < 0.12
ghc-options: -Wall -fprof-auto -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
default-language: Haskell2010
test-suite test-alerta
hs-source-dirs: test
type: exitcode-stdio-1.0
main-is: Spec.hs
other-modules: Alerta.Gen
, Alerta.Golden
, Alerta.Hedgehog
, Test.Tasty.Golden.RoundTrip
build-depends: base >= 4.7 && < 5
, aeson >= 1.0.2.1 && < 1.3
, aeson-pretty >= 0.8 && < 0.9
, alerta == 0.2.0.0
, bytestring
, containers
, deepseq
, filepath
, hedgehog
, optparse-applicative
, random
, tagged
, tasty
, tasty-golden
, tasty-hunit
, tasty-hedgehog
, text >= 1.2.2 && < 1.3
, time >= 1.6 && < 1.9
, transformers
default-language: Haskell2010
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall -fprof-auto -Wcompat -Wincomplete-record-updates -Wincomplete-uni-patterns -Wredundant-constraints
source-repository head
type: git
location: https://github.com/mjhopkins/alerta-client