-
Notifications
You must be signed in to change notification settings - Fork 0
/
hum.cabal
170 lines (143 loc) · 4.67 KB
/
hum.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
cabal-version: 3.0
-- Initial package description 'hum.cabal' generated by 'cabal init'. For
-- further documentation, see http://haskell.org/cabal/users-guide/
-- The name of the package.
name: hum
-- The package version. See the Haskell package versioning policy (PVP)
-- for standards guiding when and how versions should be incremented.
-- https://pvp.haskell.org
-- PVP summary: +-+------- breaking API changes
-- | | +----- non-breaking API additions
-- | | | +--- code changes with no API change
version: 0.2.0.0
-- A short (one-line) description of the package.
synopsis: A TUI MPD client, inspired by ncmpcpp
-- A longer description of the package.
description: A TUI MPD client, inspired by ncmpcpp.
Built using brick and libmpd.
-- A URL where users can report bugs.
-- bug-reports:
-- The license under which the package is released.
license: GPL-2.0-or-later
-- The file containing the license text.
license-file: LICENSE
-- The package author(s).
author: Itai Y. Efrat
-- An email address to which users can send suggestions, bug reports, and
-- patches.
maintainer: [email protected]
-- A copyright notice.
copyright: (c) Itai Efrat 2020
category: Sound
tested-with: GHC == 8.10.3, GHC == 8.8.4, GHC == 8.6.5, GHC == 8.4.4
-- Extra files to be distributed with the package, such as examples or a
-- README.
extra-source-files:
CHANGELOG.md
README.md
default.nix
release.nix
source-repository head
type: git
location: https://gitlab.com/iyefrat/hum.git
common deps
build-depends:
base >= 4.11 && < 5
,brick >= 0.59
,bytestring >= 0.10.10 && < 0.12
,containers >= 0.6.2 && < 0.7
,text >= 1.2.3 && < 1.3
,mtl >= 2.2.2 && < 2.3
,transformers >= 0.5.6.2 && < 0.6
,template-haskell >= 2.13.0 && < 2.18
,filepath >= 1.4.2 && < 1.5
,directory >= 1.3.6.0 && < 1.4
,time >= 1.9.3 && < 1.12
,lens >= 4.19.2 && < 4.20
,text-zipper >= 0.10.1 && < 0.12
,vector >= 0.12.1 && < 0.13
,vty >= 5.32
,libmpd >= 0.10 && < 0.11
,relude >= 0.7.0 && < 0.8
,regex-tdfa >= 1.3.1.0 && < 1.4
,array >= 0.5 && < 0.6
,witherable >= 0.4 && < 0.5
,optparse-applicative >= 0.16.1.0 && < 0.17
mixins:
base hiding (Prelude)
, relude (Relude as Prelude)
ghc-options:
-Wall
-Wcompat
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
default-extensions:
LambdaCase
FlexibleInstances
FlexibleContexts
InstanceSigs
MultiParamTypeClasses
EmptyCase
OverloadedStrings
NamedFieldPuns
MultiWayIf
TupleSections
DeriveFoldable
DeriveFunctor
DeriveTraversable
DeriveGeneric
GeneralizedNewtypeDeriving
DerivingStrategies
BangPatterns
KindSignatures
TypeOperators
ScopedTypeVariables
TemplateHaskell
RankNTypes
default-language: Haskell2010
library
import: deps
-- Modules exported by the library.
exposed-modules:
Hum.UI
, Hum.Types
, Hum.Attributes
, Hum.Views
, Hum.Views.Common
, Hum.Views.Queue
, Hum.Views.Library
, Hum.Views.Playlists
, Hum.Views.Help
, Hum.Utils
, Hum.Modes
, Hum.Modes.ExMode
, Hum.Modes.PromptMode
, Hum.Rebuild
, Hum.Orphans
, Brick.Widgets.Search
-- Modules included in this library but not exported.
-- other-modules:
-- Other library packages from which modules are imported.
-- Directories containing source files.
hs-source-dirs: src
executable hum
import: deps
-- .hs or .lhs file containing the Main module.
main-is: Main.hs
-- Modules included in this executable, other than Main.
-- other-modules:
build-depends: hum
-- Directories containing source files.
hs-source-dirs: app
ghc-options: -threaded
test-suite hum-test
import: deps
-- Base language which the package is written in.
default-language: Haskell2010
-- The interface type and version of the test suite.
type: exitcode-stdio-1.0
-- The directory where the test specifications are found.
hs-source-dirs: test
-- The entrypoint to the test suite.
main-is: MyLibTest.hs