forked from poscat0x04/telegram-types
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.yaml
More file actions
58 lines (52 loc) · 1.72 KB
/
package.yaml
File metadata and controls
58 lines (52 loc) · 1.72 KB
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
name: telegram-types
version: 0.3.0
github: "poscat0x04/telegram-types"
license: BSD3
author: "Poscat"
maintainer: "poscat@mail.poscat.moe"
copyright: "2020 Poscat"
extra-source-files:
- README.md
# Metadata used when publishing your package
synopsis: Types used in Telegram bot API
category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Defines various datatypes and their serialization methods useful for writing bindings to Telegram bot API.
dependencies:
- base >= 4.7 && < 5
- text >= 1.2.4.0 && < 1.3
- bytestring >= 0.10.10.0 && < 0.11
- filepath >= 1.4.2.1 && < 1.5
- aeson >= 1.4.7.1 && < 1.5
- deriving-aeson >= 0.2.3 && < 0.3
- open-union >= 0.4.0.0 && < 0.5
- mime-types >= 0.1.0.9 && < 0.2
- servant >= 0.16.2 && < 0.17
- servant-multipart >= 0.11.5 && < 0.12
- lens >= 4.18.1 && < 4.19
- generic-lens >= 1.2.0.1 && < 1.3
- hashable ^>= 1.3.0.0
library:
source-dirs: src
exposed-modules:
- Web.Telegram.Types
- Web.Telegram.Types.Lens
- Web.Telegram.Types.Stock
- Web.Telegram.Types.Interaction
- Web.Telegram.Types.Passport
- Web.Telegram.Types.Inline
- Web.Telegram.Types.Input
- Web.Telegram.Types.Update
- Web.Telegram.Types.UpdateType
tests:
telegram-types-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- telegram-types