~gdanix/telegram-bot-simple

telegram-bot-simple/package.yaml -rw-r--r-- 1.6 KiB
2facb477 — Daniel Trujillo Viedma Add inline mode support to EchoBot 7 months ago
                                                                                
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
name:                telegram-bot-simple
version:             0.3.5
github:              "fizruk/telegram-bot-simple"
license:             BSD3
author:              "Nickolay Kudasov"
maintainer:          "nickolay.kudasov@gmail.com"
copyright:           "Nickolay Kudasov"

extra-source-files:
- README.md
- CHANGELOG.md

# Metadata used when publishing your package
synopsis:            Easy to use library for building Telegram bots.
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:         Please see the README on Github at <https://github.com/fizruk/telegram-bot-simple#readme>

dependencies:
- base >= 4.9 && <5
- aeson
- aeson-pretty
- bytestring
- cron >= 0.7.0
- filepath
- hashable
- http-api-data
- http-client
- http-client-tls
- monad-control
- mtl
- profunctors
- pretty-show
- servant
- servant-client
- servant-multipart
- split
- stm
- template-haskell
- text
- time
- transformers
- unordered-containers

ghc-options:
- -Wall

library:
  source-dirs: src

executables:
  example-echo-bot:
    main: examples/EchoBot.hs
    dependencies: telegram-bot-simple
    ghc-options:
      - -threaded
      - -rtsopts
      - -with-rtsopts=-N # -N option provides concurrent running on all available cores.

  example-todo-bot:
    main: examples/EchoBot.hs
    dependencies: telegram-bot-simple
    ghc-options:
      - -threaded
      - -rtsopts
      - -with-rtsopts=-N # -N option provides concurrent running on all available cores.