-
Notifications
You must be signed in to change notification settings - Fork 1
/
terminal-widgets.cabal
104 lines (99 loc) · 2.69 KB
/
terminal-widgets.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
cabal-version: 3.0
name: terminal-widgets
version: 0.1.0.0
synopsis: Widgets in the terminal
homepage: https://github.com/ners/terminal-widgets/blob/master/README.md
license: Apache-2.0
license-file: LICENCE.md
author: ners
maintainer: [email protected]
bug-reports: https://github.com/ners/terminal-widgets/issues
category: Terminal
build-type: Simple
extra-source-files: CHANGELOG.md, README.md
tested-with: GHC == { 9.4, 9.6, 9.8 }
source-repository head
type: git
location: https://github.com/ners/terminal-widgets
common common
default-language: GHC2021
ghc-options:
-Weverything
-Wno-unsafe
-Wno-missing-safe-haskell-mode
-Wno-missing-export-lists
-Wno-missing-import-lists
-Wno-missing-kind-signatures
-Wno-all-missed-specialisations
default-extensions:
ApplicativeDo
BlockArguments
DataKinds
DefaultSignatures
DeriveAnyClass
DeriveGeneric
DerivingStrategies
DerivingVia
ExplicitNamespaces
LambdaCase
NoFieldSelectors
NoImplicitPrelude
OverloadedLabels
OverloadedRecordDot
OverloadedStrings
PackageImports
RecordWildCards
RecursiveDo
StrictData
TypeFamilies
ViewPatterns
build-depends:
base >= 4.16 && < 5,
generic-lens,
terminal,
text,
text-rope-zipper,
transformers,
library
import: common
hs-source-dirs: src
exposed-modules:
System.Terminal.Render,
System.Terminal.Widgets.Buttons,
System.Terminal.Widgets.Common,
System.Terminal.Widgets.SearchSelect,
System.Terminal.Widgets.Select,
System.Terminal.Widgets.TextInput,
other-modules:
Prelude,
Prettyprinter.Extra,
build-depends:
exceptions,
extra,
fuzzy,
mtl,
prettyprinter,
test-suite spec
import: common
ghc-options: -threaded
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
build-depends:
HUnit,
QuickCheck,
hspec,
terminal-widgets,
unliftio,
other-modules:
Prelude,
System.Terminal.Widgets.ButtonsSpec,
System.Terminal.Widgets.SearchSelectSpec,
System.Terminal.Widgets.SelectSpec,
System.Terminal.Widgets.TextInputSpec,
executable kitchen-sink
import: common
main-is: Main.hs
hs-source-dirs: app
build-depends:
terminal-widgets,