-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmatel.cabal
174 lines (163 loc) · 5.14 KB
/
matel.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
cabal-version: 2.4
name: matel
version: 0.1.0.13
synopsis: TUI client for the Matrix instant messaging service.
description: Matel is a currently incomplete Haskell-based Matrix
client. Matel aims to have a terminal user interface
which is intuitive but well-documented, in addition to
having some very readable source code.
Despite originating as a TUI-based thing, Matel _does_
also offer a command-line interface, called "matelcli".
Additionally, as of version 0.1.0.4, Matel's underlying
infrastructure can now be used within other projects via
the "matel" library.
The guidelines for contributing to Matel and for
submitting bug reports are visible in README.md.
bug-reports: http://github.com/varikvalefor/matel/issues
license: Unlicense
author: Varik Valefor
maintainer: varikvalefor@aol.com
copyright: (c) Varik Valefor 2022.
category: Chat
library
ghc-options: -O2 -haddock -Wall
exposed-modules:
Metal.Auth
Metal.Space
Metal.Room
Metal.Community
Metal.Base
Metal.User
Metal.OftenUsedFunctions
Metal.MatrixAPI.HighLevel
Metal.MatrixAPI.LowLevel
Metal.Messages.Encrypted
Metal.Messages.Standard
Metal.Messages.EncryptedFile
Metal.Messages.FileInfo
Metal.Messages.ThumbnailInfo
Metal.Default
Metal.EventCommonFields
Metal.MatrixAPI.LowLevel.Crypto.Miscellaneous
other-modules:
-- The following modules export stuff which is of real use only
-- within Metal.MatrixAPI.LowLevel. These modules are hidden
-- simply because these modules need not be exposed.
Metal.MatrixAPI.LowLevel.Types
Metal.MatrixAPI.LowLevel.Crypto
Metal.MatrixAPI.LowLevel.ResponseToWhatever
Metal.MatrixAPI.LowLevel.GetRoomInformation
Metal.MatrixAPI.LowLevel.RecordCombination
Metal.MatrixAPI.LowLevel.FetchEvents
Metal.MatrixAPI.LowLevel.HTTP
default-extensions:
StrictData
other-extensions:
OverloadedStrings
TemplateHaskell
DeriveAnyClass
build-depends:
base >= 4.14.1.0 && < 4.18,
basic-prelude >= 0.7.0 && < 0.8,
http-conduit >= 2.3.8 && < 2.4,
aeson >= 2.1 && < 2.2,
string-random >= 0.1.4 && < 0.2,
async >= 2.2.4 && < 2.3,
lens-aeson >= 1.2.2 && < 1.3,
aeson-quick >= 0.2 && < 0.3,
lens >= 5.2 && < 5.3,
http-types >= 0.12.3 && < 0.13,
cryptonite >= 0.30 && < 0.31,
memory >= 0.18 && < 0.19,
utf8-string == 1.0.*,
text >= 1.2.4 && < 1.3,
unordered-containers >= 0.2.19 && < 0.3,
uri-encode >= 1.5 && < 1.6,
bytestring >= 0.11.3.0 && < 0.12
-- \^ Using both Text and ByteString may seem a bit much. However,
-- the purpose of Text is not the purpose of ByteString; Text
-- contains _text_, whereas ByteString contains byte-oriented data,
-- e.g., digital negatives and compiled binaries. Who'd-a-thunk it?
hs-source-dirs: src
default-language: Haskell2010
executable matel
main-is: matel.hs
ghc-options: -haddock -threaded -O2 -dynamic
other-modules:
TUI
Plegg
Colour
GetAuth
build-depends:
base >= 4.14.1.0 && < 4.18,
directory >= 1.3.6 && < 1.4,
brick >= 1.4 && < 1.5,
matel,
text >= 1.2.4 && < 1.3,
vty >= 5.36 && < 5.37
hs-source-dirs: app
default-language: Haskell2010
executable matelcli
main-is: matelcli.hs
ghc-options: -haddock -threaded -O2 -dynamic
other-modules:
GetAuth
Plegg
build-depends:
base >= 4.14.1.0 && < 4.18,
directory >= 1.3.6 && < 1.4,
matel,
text >= 1.2.4 && < 1.3,
bytestring >= 0.11.3.0 && < 0.12
-- \^ bytestring is used for binary stuff.
-- text is used for text-based data.
hs-source-dirs: app
default-language: Haskell2010
test-suite send-unencrypted-message
type: exitcode-stdio-1.0
main-is: send-unencrypted-message.hs
hs-source-dirs: testes/matelcli
default-language: Haskell2010
build-depends:
base >= 4.14.1.0 && < 4.18,
process == 1.6.*
test-suite grab-unencrypted-messages
type: exitcode-stdio-1.0
main-is: grab-unencrypted-messages.hs
hs-source-dirs: testes/matelcli
build-depends:
base >= 4.14.1.0 && < 4.18,
process == 1.6.*
default-language: Haskell2010
test-suite drip-drip-drip-goes-the-water
type: exitcode-stdio-1.0
main-is: sync.hs
hs-source-dirs: testes/matelcli
build-depends:
base >= 4.14.1.0 && < 4.18,
process == 1.6.*
default-language: Haskell2010
test-suite oeuf
type: exitcode-stdio-1.0
ghc-options: -dynamic
main-is: oeuf.hs
hs-source-dirs: testes/core
build-depends:
matel,
base >= 4.14.1.0 && < 4.18,
bytestring >= 0.11.3.0 && < 0.12,
text >= 1.2.4 && < 1.3
default-language: Haskell2010
other-extensions:
OverloadedStrings
test-suite voorhees
type: exitcode-stdio-1.0
ghc-options: -dynamic -Wall
main-is: voorhees.hs
hs-source-dirs: testes/core
build-depends:
matel,
base >= 4.14.1.0 && < 4.18,
bytestring == 0.10.12.0,
aeson >= 2.1 && < 2.2
default-language: Haskell2010