wai-app-static.cabal 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. name: wai-app-static
  2. version: 0.3.0
  3. license: BSD3
  4. license-file: LICENSE
  5. author: Michael Snoyman <michael@snoyman.com>
  6. maintainer: Michael Snoyman <michael@snoyman.com>
  7. synopsis: WAI application for static serving
  8. description: Also provides some helper functions and datatypes for use outside of WAI.
  9. category: Web, Yesod
  10. stability: Stable
  11. cabal-version: >= 1.8
  12. build-type: Simple
  13. homepage: http://www.yesodweb.com/
  14. Extra-source-files: folder.png, haskell.png
  15. Flag print
  16. Description: print debug info
  17. Default: False
  18. library
  19. build-depends: base >= 4 && < 5
  20. , wai >= 0.4 && < 0.5
  21. , bytestring >= 0.9.1.4
  22. , http-types >= 0.6 && < 0.7
  23. , transformers >= 0.2.2 && < 0.4
  24. , unix-compat >= 0.2 && < 0.3
  25. , directory >= 1.0 && < 1.2
  26. , containers >= 0.2 && < 0.5
  27. , blaze-html >= 0.4 && < 0.5
  28. , time >= 1.1.4 && < 1.3
  29. , old-locale >= 1.0.0.2 && < 1.1
  30. , file-embed >= 0.0.3.1 && < 0.1
  31. , text >= 0.5 && < 1.0
  32. , blaze-builder >= 0.2.1.4 && < 0.4
  33. , base64-bytestring >= 0.1 && < 0.2
  34. , cryptohash >= 0.7 && < 0.8
  35. , http-date
  36. exposed-modules: Network.Wai.Application.Static
  37. ghc-options: -Wall
  38. extensions: CPP
  39. if flag(print)
  40. cpp-options: -DPRINT
  41. test-suite runtests
  42. hs-source-dirs: tests
  43. main-is: runtests.hs
  44. type: exitcode-stdio-1.0
  45. build-depends: base >= 4 && < 5
  46. , hspec >= 0.8 && < 0.10
  47. , HUnit
  48. , unix-compat >= 0.2 && < 0.3
  49. , time >= 1.1.4 && < 1.3
  50. , old-locale >= 1.0.0.2 && < 1.1
  51. , http-date
  52. , Cabal
  53. , wai-app-static >= 0.3
  54. , wai-test >= 1.2 && < 2.0
  55. , wai >= 0.4 && < 0.5
  56. , http-types >= 0.6 && < 0.7
  57. , network >= 2.2 && < 2.4
  58. , bytestring >= 0.9.1.4 && < 0.10
  59. , text >= 0.5 && < 0.12
  60. , transformers >= 0.2.2 && < 0.4
  61. -- , containers
  62. ghc-options: -Wall
  63. source-repository head
  64. type: git
  65. location: https://github.com/yesodweb/yesod