-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhttp-client-websockets.cabal
75 lines (66 loc) · 1.61 KB
/
http-client-websockets.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
cabal-version: 2.4
name: http-client-websockets
version: 0.1.1.3
synopsis: Glue code for http-client and websockets
description:
Glue code for http-client and websockets, so that
you can use a @Manager@ from http-client to create
a WebSocket connection.
.
This way, all applicable @Manager@ options like
TLS or proxy settings can be reused.
category: Network
homepage: https://github.com/amesgen/http-client-websockets
bug-reports: https://github.com/amesgen/http-client-websockets/issues
license: CC0-1.0
license-file: LICENSE
extra-source-files: README.md
author: amesgen
maintainer: amesgen@amesgen.de
extra-source-files: CHANGELOG.md
source-repository head
location: https://github.com/amesgen/http-client-websockets
type: git
common commons
default-language: Haskell2010
ghc-options:
-Wall
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wredundant-constraints
-Wmissing-export-lists
-fno-warn-name-shadowing
-fhide-source-paths
if impl(ghc >=8.10)
ghc-options: -Wunused-packages
library
import: commons
hs-source-dirs: src
exposed-modules:
Network.HTTP.Client.WebSockets
build-depends:
base >=4.11 && <5,
bytestring,
http-client >=0.6,
network-uri >=2.6,
text,
websockets >=0.12,
x-docspec-options: --timeout 20
test-suite hspec
import: commons
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
ghc-options:
-threaded
-rtsopts
-with-rtsopts=-N
build-depends:
async ^>=2.2,
base,
bytestring,
hspec >=2.5,
http-client,
http-client-websockets,
network-uri,
websockets,