Securely trigger personal scripts from incoming HTTP requests
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

personal-webhooks.cabal 4.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. name: personal-webhooks
  2. version: 0.1.0.0
  3. synopsis: Trigger personal scripts from incoming HTTP requests
  4. license: BSD2
  5. license-file: LICENSE
  6. author: Peter Jones <pjones@devalot.com>
  7. maintainer: Peter Jones <pjones@devalot.com>
  8. copyright: Copyright (c) 2017,2018 Peter J. Jones
  9. category: Web
  10. build-type: Simple
  11. cabal-version: >=1.10
  12. -- description:
  13. --------------------------------------------------------------------------------
  14. extra-source-files:
  15. README.md
  16. CHANGES.md
  17. docs/*.md
  18. docs/*.org
  19. examples/*.yml
  20. examples/*.json
  21. --------------------------------------------------------------------------------
  22. -- Files needed at run time.
  23. data-files:
  24. data/migrations/*.sql
  25. examples/*.sh
  26. --------------------------------------------------------------------------------
  27. source-repository head
  28. type: git
  29. location: git://github.com/pjones/personal-webhooks.git
  30. --------------------------------------------------------------------------------
  31. flag maintainer
  32. description: Enable settings for the package maintainer.
  33. manual: True
  34. default: False
  35. --------------------------------------------------------------------------------
  36. library
  37. exposed-modules:
  38. Web.Hooks.Personal.Action
  39. Web.Hooks.Personal.Config
  40. Web.Hooks.Personal.Database
  41. Web.Hooks.Personal.Env
  42. Web.Hooks.Personal.Hook
  43. Web.Hooks.Personal.Request
  44. -- Web.Hooks.Personal.Internal
  45. -- Web.Hooks.Personal.Internal.Action
  46. Web.Hooks.Personal.Internal.Action.Config
  47. Web.Hooks.Personal.Internal.Action.Options
  48. Web.Hooks.Personal.Internal.Action.Prim
  49. Web.Hooks.Personal.Internal.Action.Status
  50. -- Web.Hooks.Personal.Internal.Database
  51. Web.Hooks.Personal.Internal.Database.Config
  52. Web.Hooks.Personal.Internal.Database.Functions
  53. Web.Hooks.Personal.Internal.Database.Generic
  54. Web.Hooks.Personal.Internal.Database.Prim
  55. -- Web.Hooks.Personal.Internal.Hook
  56. Web.Hooks.Personal.Internal.Hook.Database
  57. Web.Hooks.Personal.Internal.Hook.FindBy
  58. Web.Hooks.Personal.Internal.Hook.Prim
  59. -- Web.Hooks.Personal.Internal.Request
  60. Web.Hooks.Personal.Internal.Request.Config
  61. Web.Hooks.Personal.Internal.Request.Prim
  62. -- Web.Hooks.Personal.Internal.Util
  63. Web.Hooks.Personal.Internal.Util.Process
  64. other-modules:
  65. Paths_personal_webhooks
  66. hs-source-dirs: lib
  67. default-language: Haskell2010
  68. ghc-options: -Wall -fwarn-incomplete-uni-patterns -Wincomplete-record-updates
  69. if flag(maintainer)
  70. ghc-options: -Werror
  71. build-depends: base >= 4.9 && < 5
  72. , aeson >= 1.1 && < 2.0
  73. , bytestring >= 0.10 && < 0.11
  74. , containers >= 0.5 && < 0.6
  75. , cryptonite >= 0.23 && < 0.26
  76. , data-default >= 0.7 && < 1.0
  77. , directory >= 1.3 && < 1.4
  78. , filepath >= 1.4 && < 1.5
  79. , opaleye >= 0.6 && < 0.7
  80. , optparse-applicative >= 0.13 && < 0.15
  81. , postgresql-simple >= 0.5 && < 0.6
  82. , postgresql-simple-migration >= 0.1 && < 0.2
  83. , product-profunctors >= 0.8 && < 0.11
  84. , resource-pool >= 0.2 && < 0.3
  85. , sandi >= 0.4 && < 0.5
  86. , template-haskell >= 2.11 && < 2.15
  87. , text >= 1.2 && < 1.3
  88. , time >= 1.6 && < 1.9
  89. , transformers >= 0.5 && < 1.0
  90. , yaml >= 0.8 && < 0.9
  91. --------------------------------------------------------------------------------
  92. executable webhooks
  93. other-modules:
  94. UI.Create
  95. UI.List
  96. UI.Run
  97. UI.Server
  98. hs-source-dirs: src
  99. main-is: Main.hs
  100. default-language: Haskell2010
  101. ghc-options: -Wall -fwarn-incomplete-uni-patterns -Wincomplete-record-updates
  102. build-depends: base
  103. , aeson
  104. , bytestring
  105. , data-default
  106. , opaleye
  107. , optparse-applicative
  108. , personal-webhooks
  109. , snap-core >= 1.0 && < 1.2
  110. , snap-server >= 1.0 && < 1.2
  111. , table-layout >= 0.8 && < 0.9
  112. , text
  113. , transformers
  114. if flag(maintainer)
  115. ghc-options: -Werror