-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathslack-composer.cabal
109 lines (103 loc) · 2.62 KB
/
slack-composer.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
102
103
104
105
106
107
108
109
name: slack-composer
version: 0.10
synopsis: A slackbot that uses the Amper API to create customized music.
description: Runs a Servant API to interface with a Slack slash command bot
homepage: http://alexgraham.net
category: Slack Bot
license: BSD3
license-file: LICENSE
author: Alex Graham
maintainer: alex@alexgraham.net
build-type: Simple
cabal-version: >=1.10
tested-with:
GHC==8.0.2
GHC==8.2.2
GHC==8.4.4
GHC==8.6.5
GHC==8.8.2
executable slack-composer
main-is: Main.hs
default-language: Haskell2010
ghc-options: -Wall -pgmL markdown-unlit
hs-source-dirs: src
-- Packages `servant` depends on.
-- We don't need to specify bounds here as this package is never released.
build-depends:
base >= 4.7 && <5
, aeson
, attoparsec
, base-compat
, bytestring
, containers
, directory
, http-api-data
, http-client
, http-client-tls
, http-media
, http-types
, hspec
, hspec-wai
, mtl
, network
, network-uri
, postgresql-simple
, string-conversions
, text
, transformers
, wai
, warp
-- Servant dependencies
build-depends:
servant
, servant-server
, servant-client
, servant-docs
-- Other dependencies: Lower bound around what is in the latest Stackage LTS.
-- Here can be exceptions if we really need features from the newer versions.
build-depends:
blaze-html >= 0.9.0.1 && < 0.10
, blaze-markup >= 0.8.0.0 && < 0.9
, cookie >= 0.4.3 && < 0.5
, js-jquery >= 3.3.1 && < 3.4
, cron >= 0.7.0 && < 0.8
, http-conduit
, lucid >= 2.9.11 && < 2.10
, random >= 1.1 && < 1.2
, time >= 1.6.0.1 && < 1.10
-- For legacy tools, we need to specify build-depends too
build-depends: markdown-unlit >= 0.5.0 && <0.6
build-tool-depends: markdown-unlit:markdown-unlit >= 0.5.0 && <0.6
test-suite spec
type: exitcode-stdio-1.0
ghc-options: -Wall
default-language: Haskell2010
hs-source-dirs: test, src
main-is: Spec.hs
build-depends:
base
, aeson
, attoparsec
, base-compat
, bytestring
, containers
, directory
, http-api-data
, http-client
, http-client-tls
, http-media
, http-types
, hspec
, hspec-wai
, mtl
, network
, network-uri
, postgresql-simple
, servant-server
, servant-client
, string-conversions
, text
, transformers
, wai
, warp
-- , string-conversions