1cabal-version: 3.4
2name: datepicker
3version: 0.1.0
4synopsis: An fzf-like tool to interactively select a date in a provided format
5-- description:
6license: GPL-3.0-or-later
7license-file: LICENSE
8author: Sören Tempel
9maintainer: soeren+git@soeren-tempel.net
10category: System
11build-type: Simple
12extra-doc-files: README.md
13
14common warnings
15 ghc-options: -Wall
16
17library
18 import: warnings
19 ghc-options: -threaded
20 exposed-modules: DatePicker.UI
21 , DatePicker.UI.Month
22 , DatePicker.UI.Time
23 , DatePicker.CmdLine
24 , DatePicker.Util
25 build-depends: base >=4.16.0.0
26 , time >=1.12.2
27 , vty >=6.2
28 , optparse-applicative >=0.17.0.0
29 hs-source-dirs: lib
30 default-language: GHC2021
31
32executable datepicker
33 import: warnings
34 ghc-options: -threaded
35 main-is: Main.hs
36 build-depends: base
37 , datepicker
38 , time
39 , vty
40 , vty-unix
41 , unix
42 hs-source-dirs: app
43 default-language: GHC2021
44
45test-suite datepicker-test
46 import: warnings
47 ghc-options: -Wno-orphans
48 default-language: GHC2021
49 type: exitcode-stdio-1.0
50 hs-source-dirs: test
51 main-is: Main.hs
52 other-modules: Tmux
53 , Util
54 , QuickCheck
55 build-depends:
56 base,
57 mtl,
58 bytestring,
59 datepicker,
60 time,
61 tasty,
62 tasty-hunit >=0.10,
63 tasty-tmux >=0.1.0.5,
64 tasty-quickcheck >=0.10.2