packages feed

lambdabot-zulip-0.1.0: lambdabot-zulip.cabal

name:          lambdabot-zulip
version:       0.1.0
license:       MIT
copyright:     2017 Niklas Hambüchen <mail@nh2.me>
author:        Niklas Hambüchen <mail@nh2.me>
maintainer:    Niklas Hambüchen <mail@nh2.me>
category:      Web
build-type:    Simple
tested-with:   GHC==8.4.3
cabal-version: >= 1.8
homepage:      https://github.com/nh2/lambdabot-zulip
bug-Reports:   https://github.com/nh2/lambdabot-zulip/issues
synopsis:      Lambdabot for Zulip Chat
description:
  Integrates lambdabot with Zulip Chat.

extra-source-files:
  README.md
  example-settings/settings.yaml

source-repository head
  type:      git
  location:  git://github.com/nh2/lambdabot-zulip.git

library
  exposed-modules:
    Web.Zulip.Lambdabot
  hs-source-dirs:
    src
  build-depends:
      base             >= 4 && < 5
    , containers
    , hint
    , hzulip
    , mueval
    , optparse-applicative
    , say
    , text
    , yaml

  ghc-options:
    -Wall


executable lamdabot-zulip-server
  hs-source-dirs:
    app/lambdabot-zulip-server
  main-is:
    Main.hs
  build-depends:
      base             >= 4 && < 5
    , lambdabot-zulip

  ghc-options:
    -Wall -threaded -with-rtsopts=-N


test-suite tests
  type: exitcode-stdio-1.0
  hs-source-dirs:
    test
  main-is:
    Main.hs
  build-depends:
      base             >= 4 && < 5
    , lambdabot-zulip
    , hspec            >= 1.3.0.1
    , HUnit            >= 1.2
    , text
  ghc-options:
    -Wall -threaded -with-rtsopts=-N