Terminal clock and countdown timer
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.

clockdown.cabal 2.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. --------------------------------------------------------------------------------
  2. name: clockdown
  3. version: 0.1.0.0
  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) 2015 Peter J. Jones
  9. category: System
  10. build-type: Simple
  11. stability: experimental
  12. tested-with: GHC == 7.10.1
  13. cabal-version: >=1.10
  14. --------------------------------------------------------------------------------
  15. extra-source-files:
  16. CHANGES
  17. README.md
  18. --------------------------------------------------------------------------------
  19. flag maintainer
  20. description: Enable settings for the package maintainer.
  21. manual: True
  22. default: False
  23. --------------------------------------------------------------------------------
  24. library
  25. exposed-modules:
  26. Clockdown.Core.Clock
  27. Clockdown.Core.Digital.Display
  28. Clockdown.Core.Digital.Indicator
  29. Clockdown.Core.Properties
  30. Clockdown.Core.Window
  31. Clockdown.UI.Common.Action
  32. Clockdown.UI.Term.Draw
  33. Clockdown.UI.Term.Run
  34. default-language: Haskell2010
  35. hs-source-dirs: src
  36. ghc-options: -Wall -fwarn-incomplete-uni-patterns
  37. if flag(maintainer)
  38. ghc-options: -Werror
  39. ghc-prof-options: -prof -auto-all
  40. build-depends: async >= 2.0 && < 2.1
  41. , base >= 4.7 && < 5.0
  42. , text >= 0.11 && < 1.3
  43. , time >= 1.5 && < 1.6
  44. , vty >= 5.2 && < 5.3
  45. --------------------------------------------------------------------------------
  46. executable clockdown
  47. default-language: Haskell2010
  48. main-is: clockdown.hs
  49. build-depends: base, clockdown
  50. ghc-options: -Wall -fwarn-incomplete-uni-patterns -threaded
  51. if flag(maintainer)
  52. ghc-options: -Werror
  53. --------------------------------------------------------------------------------
  54. test-suite test
  55. type: exitcode-stdio-1.0
  56. default-language: Haskell2010
  57. hs-source-dirs: test
  58. main-is: Main.hs
  59. other-modules:
  60. IndicatorTest
  61. ghc-options: -Wall -fwarn-incomplete-uni-patterns
  62. if flag(maintainer)
  63. ghc-options: -Werror
  64. build-depends: base
  65. , clockdown
  66. , tasty >= 0.10 && < 0.11
  67. , tasty-hunit >= 0.9 && < 0.10