funbot-git-hook.cabal 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  1. name: funbot-git-hook
  2. version: 0.1
  3. synopsis: Git hook which sends events to FunBot.
  4. description:
  5. This is program to use as a Git post-receive hook, which collects new commits
  6. and tags made in the Git push, and reports them to a running instance of
  7. <https://notabug.org/fr33domlover/funbot FunBot>, so that the bot can
  8. announce the event to IRC.
  9. .
  10. See the /README.md/ for instructions.
  11. homepage: https://notabug.org/fr33domlover/funbot-git-hook/
  12. bug-reports: https://notabug.org/fr33domlover/funbot-git-hook/issues/
  13. license: PublicDomain
  14. license-file: COPYING
  15. author: fr33domlover
  16. maintainer: fr33domlover@riseup.net
  17. copyright: ♡ Copying is an act of love. Please copy, reuse and share.
  18. category: Network, Web
  19. build-type: Simple
  20. extra-source-files: AUTHORS ChangeLog COPYING INSTALL NEWS README.md
  21. cabal-version: >=1.10
  22. source-repository head
  23. type: git
  24. location: https://notabug.org/fr33domlover/funbot-git-hook.git
  25. flag network-uri
  26. description: Get Network.URI from the network-uri package
  27. default: True
  28. executable funbot-client-post-receive
  29. main-is: Main.hs
  30. -- other-modules:
  31. -- other-extensions:
  32. build-depends: base >=4.7 && <5
  33. , bytestring
  34. , directory
  35. , filepath
  36. , hit >=0.6.3
  37. , funbot-client
  38. , funbot-ext-events
  39. , template >=0.2
  40. , text
  41. , utf8-string >=1
  42. if flag(network-uri)
  43. build-depends: network-uri >=2.6
  44. else
  45. build-depends: network <2.6
  46. hs-source-dirs: src
  47. default-language: Haskell2010
  48. ghc-options: -Wall