-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathhaskell-xmpp.cabal
119 lines (111 loc) · 3.7 KB
/
haskell-xmpp.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
cabal-version: 2.0
Name: haskell-xmpp
Version: 2.0.4
License: BSD3
License-File: LICENSE
Author: Dmitry Astapov <dastapov@gmail.com>, pierre <k.pierre.k@gmail.com>, riskbook <support@riskbook.com>
Maintainer: riskbook <support@riskbook.com>
Homepage: https://github.com/riskbook/haskell-xmpp
Category: Network
Copyright: (c) 2005-2011 Dmitry Astapov, k.pierre
Stability: Stable
Tested-with: GHC==8.8.3
Build-type: Simple
Bug-reports: https://github.com/riskbook/haskell-xmpp/issues
Extra-source-files: README.md examples/Test.hs Changelog.md
Synopsis: Haskell XMPP (eXtensible Message Passing Protocol, a.k.a. Jabber) library
Description: Haskell XMPP (eXtensible Message Passing Protocol, a.k.a. Jabber) library
.
Unlike package network-protocol-xmpp, which uses libxml-sax, this library uses HaXml and supports MUC.
However, MUC support of the moment is worse than that in package XMPP.
.
This library make extensive use of STM and threads to simplify writing message-handling code.
source-repository head
type: git
location: git@github.com:riskbook/haskell-xmpp.git
flag examples
description: Build examples
default: False
flag debug
description: Enable debugging output
default: False
library
default-language: Haskell2010
Hs-Source-Dirs: ./src
Build-Depends: base > 4.11.0.0 && <= 5
, random
, pretty
, array
, mtl
-- all versions of HaXml after 1.25.6 break some xml queries
-- for xmpp messages.
-- It's solved in 1.25.9, see: https://github.com/HaXml/HaXml/pull/7
, HaXml <= 1.25.6 || >= 1.25.9
, network
, network-bsd
, html
, polyparse
, regex-compat
, stm
, utf8-string
, uuid
, xml-hamlet
, xml-conduit
, text
, blaze-markup
, singlethongs
, time
, unliftio
, aeson
, http-conduit < 2.3.8.0
, bytestring
, http-client
Exposed-modules: Network.XMPP
, Network.XMPP.Sasl
, Network.XMPP.Core
, Network.XMPP.Types
, Network.XMPP.Print
, Network.XMPP.Helpers
, Network.XMPP.Stream
, Network.XMPP.Stanza
, Network.XMPP.Utils
, Network.XMPP.IM.Presence
, Network.XMPP.IQ
, Network.XMPP.UTF8
, Network.XMPP.XML
, Network.XMPP.MD5
, Network.XMPP.Base64
, Network.XMPP.Ejabberd
, Network.XMPP.XEP.MUC
, Network.XMPP.XEP.MAM
, Network.XMPP.XEP.Form
, Network.XMPP.XEP.Delayed
, Network.XMPP.XEP.Version
, Network.XMPP.Concurrent
GHC-Options: -Wall -Wincomplete-patterns -fno-warn-name-shadowing -fno-warn-orphans
if flag(debug)
CPP-Options: -DDEBUG
Executable haskell-xmpp-test
default-language: Haskell2010
Hs-Source-Dirs: ./src ./examples
if flag(examples)
build-depends: base > 3 && <=5
else
buildable: False
if flag(debug)
CPP-Options: -DDEBUG
Main-Is: Test.hs
GHC-Options: -Wall -fno-warn-name-shadowing -fno-warn-orphans
Executable haskell-xmpp-io-test
default-language: Haskell2010
hs-source-dirs: ./test
main-is: Main.hs
build-tool-depends: hspec-discover:hspec-discover -any
build-depends:
base >=4.9.1.0 && <5
, hspec
, haskell-xmpp
, text
other-modules:
TestSuiteSpec
RoomSpec