-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathslacker.cabal
101 lines (97 loc) · 2.94 KB
/
slacker.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
cabal-version: 3.0
name: slacker
version: 0.1.0.0
category: Web, Slack, SDK
synopsis: Haskell library for building Slack apps in Socket Mode
license: MIT
license-file: LICENSE
author: Josh Miller <notjoshmiller@gmail.com>
maintainer: Josh Miller <notjoshmiller@gmail.com>
extra-source-files: README.md, CHANGELOG.md
source-repository head
type: git
location: git@github.com:velveteer/slacker.git
flag strict
description: Enable more GHC warnings plus @-Werror@, which turns warnings into errors.
default: False
manual: True
library
default-extensions:
FlexibleContexts,
LambdaCase,
OverloadedStrings,
DataKinds,
DeriveGeneric,
DerivingStrategies,
DuplicateRecordFields,
GeneralizedNewtypeDeriving,
MultiParamTypeClasses,
PatternSynonyms,
RankNTypes,
RecordWildCards,
TypeApplications,
TypeOperators,
ViewPatterns
exposed-modules:
Slacker,
Slacker.Blocks,
Slacker.Blocks.Append,
Slacker.Blocks.Builder,
Slacker.Blocks.Actions,
Slacker.Blocks.Context,
Slacker.Blocks.Divider,
Slacker.Blocks.Fields,
Slacker.Blocks.Header,
Slacker.Blocks.Image,
Slacker.Blocks.Section,
Slacker.Blocks.Elements,
Slacker.Blocks.Elements.Builder,
Slacker.Blocks.Elements.Button,
Slacker.Blocks.Elements.Image,
Slacker.Blocks.Elements.TextObject,
Slacker.Config,
Slacker.Events,
Slacker.Events.AppMention,
Slacker.SocketMode,
Slacker.SocketMode.Types,
Slacker.Web,
Slacker.Web.Files,
Slacker.Util
build-depends:
aeson >= 2.0.3 && < 2.3,
base >= 4.14.3 && < 5,
dlist >= 1.0 && < 1.1,
exceptions >= 0.10.4 && < 0.11,
http-client >= 0.7.11 && < 0.8,
http-conduit >= 2.3.8 && < 2.4,
microlens >= 0.4.12 && < 0.5,
microlens-aeson >= 2.4 && < 2.6,
monad-logger-aeson >= 0.2.0 && < 0.5,
network-uri >= 2.6.4 && < 2.7,
stm-chans >= 3.0.0 && < 3.1,
text >= 1.2.4 && < 3.0,
unliftio >= 0.2.22 && < 0.3,
unliftio-core >= 0.2.0 && < 0.3,
websockets >= 0.12.7 && < 0.13,
world-peace >= 1.0.2 && < 1.1,
wuss >= 1.1.19 && < 2.1,
hs-source-dirs: src
default-language: Haskell2010
if flag(strict)
ghc-options:
-Wall
-Werror
-Wcompat
-Widentities
-Wincomplete-uni-patterns
-Wincomplete-record-updates
-Wmissing-export-lists
-Wno-implicit-prelude
-Wno-safe
-Wno-unsafe
-Wnoncanonical-monad-instances
-Wredundant-constraints
-Wpartial-fields
-Wunused-packages
else
ghc-options: -Wall