-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnavi.cabal
178 lines (163 loc) · 4.48 KB
/
navi.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
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
cabal-version: 2.4
name: navi
version: 0.1
license: MIT
license-file: LICENSE
tested-with: GHC ==9.6.6 || ==9.8.2 || ==9.10.1 || ==9.12.1
copyright: 2021-2025 Thomas Bidne
author: Thomas Bidne
maintainer: [email protected]
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: README.md
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
NoFieldSelectors
NoImplicitPrelude
NoStarIsType
OverloadedLabels
OverloadedStrings
StrictData
TypeFamilies
default-language: GHC2021
library
import: common-exts
other-modules: Paths_navi
autogen-modules: Paths_navi
exposed-modules:
Navi
Navi.Args
Navi.Config
Navi.Config.Toml
Navi.Config.Types
Navi.Data.NaviLog
Navi.Data.NaviNote
Navi.Data.PollInterval
Navi.Effects
Navi.Effects.MonadNotify
Navi.Effects.MonadSystemInfo
Navi.Env.Core
Navi.Env.DBus
Navi.Env.NotifySend
Navi.Event
Navi.Event.Toml
Navi.Event.Types
Navi.NaviT
Navi.Prelude
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.Multiple
Navi.Services.Custom.Multiple.Toml
Navi.Services.Custom.Single
Navi.Services.Custom.Single.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.8
, dbus >=1.2.14 && <1.4
, deepseq >=1.4.6.0 && <1.6
, effects-async ^>=0.1
, effects-fs ^>=0.1
, effects-ioref ^>=0.1
, effects-logger-ns ^>=0.1
, effects-optparse ^>=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
, fdo-notify ^>=0.3.1
, monad-logger ^>=0.3.30
, mtl >=2.2.2 && <2.4
, optics-core ^>=0.4
, optics-th ^>=0.4
, optparse-applicative >=0.16.1.0 && <0.19
, process ^>=1.6.9.0
, pythia ^>=0.1
, relative-time ^>=0.1
, si-bytes ^>=0.1
, text >=1.2.3.2 && <2.2
, toml-reader >=0.1.0.0 && <0.3
hs-source-dirs: src
executable navi
import: common-exts
main-is: Main.hs
build-depends:
, base
, effects-fs
, effects-time
, navi
, si-bytes
, text
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.Multiple.Toml
Unit.Navi.Services.Custom.Single.Toml
Unit.Navi.Services.Network.NetInterfaces.Toml
Unit.Prelude
build-depends:
, base
, effects-fs
, fdo-notify
, navi
, pythia
, tasty >=1.1.0.3 && <1.6
, 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
, effects-async
, effects-fs
, effects-logger-ns
, effects-terminal
, effects-thread
, effects-time
, fdo-notify
, navi
, pythia
, tasty
, tasty-hunit
, text
, time >=1.9.3 && <1.15
hs-source-dirs: test/integration