-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnavi.cabal
More file actions
208 lines (189 loc) · 4.99 KB
/
Copy pathnavi.cabal
File metadata and controls
208 lines (189 loc) · 4.99 KB
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
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
cabal-version: 2.4
name: navi
version: 0.1
license: MIT
license-file: LICENSE
tested-with: GHC ==9.6.7 || ==9.8.4 || ==9.10.2 || ==9.12.2
copyright: 2021-2025 Thomas Bidne
author: Thomas Bidne
maintainer: tbidne@protonmail.com
homepage: https://github.com/tbidne/navi/
bug-reports: https://github.com/tbidne/navi/issues
synopsis: A utility program for sending system notifications.
description:
Please see the README at https://github.com/tbidne/navi/#readme
category: System, Notifications
extra-source-files:
examples/*.toml
README.md
test/integration/*.toml
extra-doc-files: CHANGELOG.md
source-repository head
type: git
location: https://github.com/tbidne/navi
common common-exts
default-extensions:
ApplicativeDo
DataKinds
DeriveAnyClass
DerivingVia
DuplicateRecordFields
FunctionalDependencies
LambdaCase
MultiWayIf
NoFieldSelectors
NoImplicitPrelude
NoStarIsType
OverloadedLabels
OverloadedStrings
StrictData
TypeFamilies
if os(osx)
cpp-options: -DOSX
default-language: GHC2021
library
import: common-exts
other-modules: Paths_navi
autogen-modules: Paths_navi
exposed-modules:
Navi
Navi.Args
Navi.Args.TH
Navi.Config
Navi.Config.Phase
Navi.Config.Toml
Navi.Config.Types
Navi.Data.CommandResult
Navi.Data.CommandResultParser
Navi.Data.NaviLog
Navi.Data.NaviNote
Navi.Data.PollInterval
Navi.Data.Result
Navi.Effects
Navi.Effects.MonadSystemInfo
Navi.Env.Core
Navi.Event
Navi.Event.Toml
Navi.Event.Types
Navi.Event.Types.EventError
Navi.NaviT
Navi.Prelude
Navi.Runner
Navi.Services.Battery.Common
Navi.Services.Battery.Percentage
Navi.Services.Battery.Percentage.Toml
Navi.Services.Battery.Status
Navi.Services.Battery.Status.Toml
Navi.Services.Custom
Navi.Services.Custom.Toml
Navi.Services.Network.NetInterfaces
Navi.Services.Network.NetInterfaces.Toml
Navi.Services.Types
Navi.Utils
build-depends:
, base >=4.17 && <4.22
, bytestring >=0.10.10.0 && <0.13
, containers >=0.5.11.0 && <0.9
, deepseq >=1.4.6.0 && <1.6
, effects-async ^>=0.1
, effects-fs ^>=0.1
, effects-ioref ^>=0.1
, effects-logger ^>=0.1
, effects-notify ^>=0.1
, effects-optparse ^>=0.1
, effects-process ^>=0.1
, effects-stm ^>=0.1
, effects-terminal ^>=0.1
, effects-thread ^>=0.1
, effects-time ^>=0.1
, exception-utils ^>=0.1
, exceptions ^>=0.10.4
, gitrev-typed ^>=0.1
, mtl >=2.2.2 && <2.4
, optics-core ^>=0.4
, optparse-applicative >=0.16.1.0 && <0.20
, os-string ^>=2.0.1
, pythia ^>=0.1
, relative-time ^>=0.1
, si-bytes ^>=0.1
, template-haskell >=2.17.0.0 && <2.24
, text >=1.2.3.2 && <2.2
, text-display ^>=1.0.0.0
, time >=1.9.3 && <1.16
, toml-reader >=0.1.0.0 && <0.4
hs-source-dirs: src
executable navi
import: common-exts
main-is: Main.hs
build-depends:
, base
, navi
hs-source-dirs: app
ghc-options: -threaded -with-rtsopts=-N
test-suite unit
import: common-exts
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Unit.Navi.Config
Unit.Navi.Config.Toml
Unit.Navi.Services.Battery.Percentage.Toml
Unit.Navi.Services.Battery.Status.Toml
Unit.Navi.Services.Custom.Toml
Unit.Navi.Services.Network.NetInterfaces.Toml
Unit.Prelude
Unit.Utils
build-depends:
, base
, containers
, effects-fs
, effects-notify
, hedgehog >=1.0.2 && <1.8
, navi
, pythia
, tasty >=1.1.0.3 && <1.6
, tasty-hedgehog >=1.0.0.2 && <1.5
, tasty-hunit >=0.9 && <0.11
, text
hs-source-dirs: test/unit
test-suite integration
import: common-exts
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Integration.Exceptions
Integration.MockApp
Integration.Prelude
build-depends:
, base
, containers
, effects-async
, effects-fs
, effects-logger
, effects-notify
, effects-stm
, effects-terminal
, effects-thread
, effects-time
, navi
, pythia
, stm ^>=2.5.0.0
, tasty
, tasty-hunit
, text
, time
hs-source-dirs: test/integration
test-suite e2e
import: common-exts
type: exitcode-stdio-1.0
main-is: Main.hs
build-depends:
, base
, effects-async
, effects-fs
, env-guard ^>=0.2
, mtl
, navi
, tasty
, tasty-hunit
hs-source-dirs: test/e2e