funbot-client.cabal 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. name: funbot-client
  2. version: 0.1.0.1
  3. synopsis: Report events to FunBot over a JSON/HTTP API.
  4. description:
  5. This is a library for reporting events to a running instance of
  6. <https://notabug.org/fr33domlover/funbot FunBot>, so that the bot can
  7. announce the event to IRC. For example, if you are writing a paste server,
  8. you can add support for IRC announcments of new pastes by reporting the paste
  9. to a running bot.
  10. homepage: https://notabug.org/fr33domlover/funbot-client/
  11. bug-reports: https://notabug.org/fr33domlover/funbot-client/issues/
  12. license: PublicDomain
  13. license-file: COPYING
  14. author: fr33domlover
  15. maintainer: fr33domlover@riseup.net
  16. copyright: ♡ Copying is an act of love. Please copy, reuse and share.
  17. category: Network, Web
  18. build-type: Simple
  19. extra-source-files: AUTHORS ChangeLog COPYING INSTALL NEWS README.md
  20. cabal-version: >=1.10
  21. source-repository head
  22. type: git
  23. location: https://notabug.org/fr33domlover/funbot-client.git
  24. flag old
  25. description: Use network for Network.URI, and a matching HTTP package version
  26. default: False
  27. library
  28. exposed-modules: FunBot.Client
  29. -- other-modules:
  30. -- other-extensions:
  31. build-depends: aeson
  32. , aeson-pretty >=0.7
  33. , base >=4.7 && <5
  34. , bytestring
  35. , funbot-ext-events
  36. if flag(old)
  37. build-depends: network <2.6
  38. , HTTP >=4000.2 && <=4000.2.17
  39. else
  40. build-depends: network-uri >=2.6
  41. , HTTP >=4000.2
  42. hs-source-dirs: src
  43. default-language: Haskell2010
  44. ghc-options: -Wall