A simple blogging platform with Haskell and Scotty
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

97 lines
1.8KB

  1. Name: hablog
  2. Version: 0.8.0
  3. Synopsis: A blog system
  4. Description: blog system with tags
  5. License: MIT
  6. license-file: LICENSE
  7. Author: Gil Mizrahi
  8. Maintainer: gilmi@posteo.net
  9. Stability: Experimental
  10. Category: Web
  11. Build-type: Simple
  12. Cabal-version: >=1.10
  13. extra-source-files:
  14. README.md
  15. source-repository head
  16. type: git
  17. location: https://gitlab.com/gilmi/hablog
  18. library
  19. Build-depends:
  20. base >=4.7 && <5
  21. ,scotty
  22. ,scotty-tls >= 0.4
  23. ,warp-tls == 3.2.12
  24. ,blaze-html
  25. ,blaze-markup
  26. ,text
  27. ,mtl
  28. ,transformers
  29. ,bytestring
  30. ,bifunctors
  31. ,transformers
  32. ,markdown
  33. ,directory
  34. ,filepath
  35. ,mime-types
  36. ,containers
  37. ,rss
  38. ,time
  39. ,network-uri
  40. exposed-modules:
  41. Web.Hablog
  42. Web.Hablog.Run
  43. Web.Hablog.Config
  44. Web.Hablog.Types
  45. other-modules:
  46. Web.Hablog.Utils
  47. Web.Hablog.Html
  48. Web.Hablog.Post
  49. Web.Hablog.Page
  50. Web.Hablog.Present
  51. exposed:
  52. True
  53. buildable:
  54. True
  55. hs-source-dirs:
  56. src
  57. default-language:
  58. Haskell2010
  59. if impl(ghc >= 6.12.0)
  60. other-extensions:
  61. FlexibleInstances
  62. ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
  63. else
  64. ghc-options: -Wall -fwarn-tabs -funbox-strict-fields
  65. Executable hablog
  66. hs-source-dirs: app
  67. main-is: Main.hs
  68. Build-depends:
  69. base
  70. ,text
  71. ,optparse-applicative
  72. ,hablog
  73. default-language:
  74. Haskell2010
  75. if impl(ghc >= 6.12.0)
  76. other-extensions:
  77. FlexibleInstances
  78. -- ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields -static -optl-static -optl-pthread -fPIC
  79. ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields
  80. else
  81. ghc-options: -threaded -Wall -fwarn-tabs -funbox-strict-fields