packages feed

lambdabot-telegram-plugins-0.2.1: lambdabot-telegram-plugins.cabal

cabal-version:      2.4
name:               lambdabot-telegram-plugins
version:            0.2.1

-- A short (one-line) description of the package.
-- synopsis:

-- A longer description of the package.
-- description:

-- A URL where users can report bugs.
-- bug-reports:

-- The license under which the package is released.
license:            GPL-2.0-or-later
author:             Andrey Prokopenko
maintainer:         persiantiger@yandex.ru
synopsis:           Lambdabot for Telegram
description:        Lambdabot is an IRC bot written over several years by
                    those on the #haskell IRC channel.
                    .
                    It operates as a command line tool, embedded in an editor,
                    embedded in GHCi, via internet relay chat and on the web.
                    .
                    Telegram bot provided via telegram-bot-simple package.
                    .
                    This package is a combination of both Lambdabot and Telegram bot.

homepage:       https://github.com/swamp-agr/lambdabot-telegram-plugins#readme
bug-reports:    https://github.com/swamp-agr/lambdabot-telegram-plugins/issues

-- A copyright notice.
-- copyright:
category:           Development, Web
extra-source-files: CHANGELOG.md

library
    exposed-modules:  Lambdabot.Config.Telegram
                    , Lambdabot.Plugin.Telegram
                    , Lambdabot.Plugin.Telegram.Bot
                    , Lambdabot.Plugin.Telegram.Bot.Generic
                    , Lambdabot.Plugin.Telegram.Callback
                    , Lambdabot.Plugin.Telegram.Message
                    , Lambdabot.Plugin.Telegram.Shared       
    hs-source-dirs:   src
    ghc-options:      -Wall
    default-language: Haskell2010
    build-depends:    base < 4.17
                    , containers
                    , dependent-map
                    , dependent-sum
                    , directory
                    , edit-distance
                    , haskell-src-exts-simple
                    , telegram-bot-simple >= 0.6
                    , text
                    , lambdabot-core
                    , lifted-base
                    , monad-control
                    , mtl
                    , pretty-simple
                    , process
                    , regex-tdfa
                    , split
                    , stm
                    , transformers
                    , utf8-string
    autogen-modules:
        Paths_lambdabot_telegram_plugins
    other-modules:
        Paths_lambdabot_telegram_plugins

executable telegram-lambdabot
    main-is:          Main.hs

    -- Modules included in this executable, other than Main.
    other-modules:    Modules
                    , Paths_lambdabot_telegram_plugins

    build-depends:    base < 4.17
                    , lambdabot-core
                    , lambdabot-haskell-plugins
                    , lambdabot-telegram-plugins
                    , mtl

    
    hs-source-dirs:   app
    ghc-options:      -Wall -O2 -threaded -rtsopts -with-rtsopts=-N
    default-language: Haskell2010