2021-05-02 20:07:45 +00:00
|
|
|
name: simplexmq
|
2022-08-16 19:45:35 +00:00
|
|
|
version: 3.2.0
|
2021-05-09 08:36:08 +00:00
|
|
|
synopsis: SimpleXMQ message broker
|
2022-04-08 14:42:22 +00:00
|
|
|
description: |
|
2021-05-09 08:36:08 +00:00
|
|
|
This package includes <./docs/Simplex-Messaging-Server.html server>,
|
|
|
|
<./docs/Simplex-Messaging-Client.html client> and
|
|
|
|
<./docs/Simplex-Messaging-Agent.html agent> for SMP protocols:
|
|
|
|
.
|
|
|
|
* <https://github.com/simplex-chat/simplexmq/blob/master/protocol/simplex-messaging.md SMP protocol>
|
|
|
|
* <https://github.com/simplex-chat/simplexmq/blob/master/protocol/agent-protocol.md SMP agent protocol>
|
|
|
|
.
|
|
|
|
See <https://github.com/simplex-chat/simplex-chat terminal chat prototype> built with SimpleXMQ broker.
|
|
|
|
|
2021-05-02 20:07:45 +00:00
|
|
|
homepage: https://github.com/simplex-chat/simplexmq#readme
|
2020-10-13 17:55:07 +00:00
|
|
|
license: AGPL-3
|
2021-05-09 08:36:08 +00:00
|
|
|
author: simplex.chat
|
|
|
|
maintainer: chat@simplex.chat
|
2022-01-12 16:17:33 +00:00
|
|
|
copyright: 2020-2022 simplex.chat
|
2021-05-09 10:24:40 +00:00
|
|
|
category: Chat, Network, Web, System, Cryptography
|
2020-10-11 10:00:25 +00:00
|
|
|
extra-source-files:
|
|
|
|
- README.md
|
2021-05-09 08:36:08 +00:00
|
|
|
- CHANGELOG.md
|
2020-10-11 10:00:25 +00:00
|
|
|
|
|
|
|
dependencies:
|
2022-01-29 19:36:02 +00:00
|
|
|
- aeson == 2.0.*
|
2021-06-30 09:35:50 +00:00
|
|
|
- ansi-terminal >= 0.10 && < 0.12
|
2021-04-14 20:20:08 +00:00
|
|
|
- asn1-encoding == 0.9.*
|
|
|
|
- asn1-types == 0.3.*
|
2021-01-13 19:32:21 +00:00
|
|
|
- async == 2.2.*
|
2022-01-29 19:36:02 +00:00
|
|
|
- attoparsec == 0.14.*
|
2022-07-05 20:08:05 +00:00
|
|
|
- base >= 4.14 && < 5
|
2020-10-17 10:03:38 +00:00
|
|
|
- base64-bytestring >= 1.0 && < 1.3
|
2020-10-21 18:04:15 +00:00
|
|
|
- bytestring == 0.10.*
|
2022-04-14 10:33:17 +00:00
|
|
|
- case-insensitive == 1.2.*
|
2021-06-24 17:39:59 +00:00
|
|
|
- composition == 1.0.*
|
2021-06-30 09:35:50 +00:00
|
|
|
- constraints >= 0.12 && < 0.14
|
2021-05-09 08:36:08 +00:00
|
|
|
- containers == 0.6.*
|
2021-06-30 09:35:50 +00:00
|
|
|
- cryptonite >= 0.27 && < 0.30
|
2021-12-22 19:24:58 +00:00
|
|
|
- cryptostore == 0.2.*
|
2021-12-15 07:48:57 +00:00
|
|
|
- data-default == 0.7.*
|
2021-05-31 15:38:35 +00:00
|
|
|
- direct-sqlite == 2.3.*
|
2021-03-29 15:18:54 +00:00
|
|
|
- directory == 1.3.*
|
|
|
|
- filepath == 1.4.*
|
2021-12-02 17:43:05 +00:00
|
|
|
- http-types == 0.12.*
|
2022-04-14 10:33:17 +00:00
|
|
|
- http2 == 3.0.*
|
2021-06-30 09:35:50 +00:00
|
|
|
- generic-random >= 1.3 && < 1.5
|
2022-04-03 09:37:32 +00:00
|
|
|
- ini == 0.4.*
|
2020-10-16 12:24:26 +00:00
|
|
|
- iso8601-time == 0.1.*
|
2021-02-15 08:48:05 +00:00
|
|
|
- memory == 0.15.*
|
2021-05-09 08:36:08 +00:00
|
|
|
- mtl == 2.2.*
|
2022-06-16 07:49:07 +00:00
|
|
|
- network >= 3.1.2.7 && < 3.2
|
2021-02-28 16:17:28 +00:00
|
|
|
- network-transport == 0.5.*
|
2022-04-03 09:37:32 +00:00
|
|
|
- optparse-applicative >= 0.15 && < 0.17
|
2021-05-23 11:00:18 +00:00
|
|
|
- QuickCheck == 2.14.*
|
2022-04-03 09:37:32 +00:00
|
|
|
- process == 1.6.*
|
2021-06-30 09:35:50 +00:00
|
|
|
- random >= 1.1 && < 1.3
|
2021-01-22 08:59:47 +00:00
|
|
|
- simple-logger == 0.1.*
|
2022-07-23 12:57:10 +00:00
|
|
|
- socks == 0.6.*
|
2020-12-26 21:22:17 +00:00
|
|
|
- sqlite-simple == 0.4.*
|
2021-05-09 08:36:08 +00:00
|
|
|
- stm == 2.5.*
|
2021-05-23 11:00:18 +00:00
|
|
|
- template-haskell == 2.16.*
|
2021-01-03 18:05:50 +00:00
|
|
|
- text == 1.2.*
|
2020-10-16 12:24:26 +00:00
|
|
|
- time == 1.9.*
|
2022-06-16 14:35:45 +00:00
|
|
|
- time-compat == 1.9.*
|
2022-04-14 10:33:17 +00:00
|
|
|
- time-manager == 0.0.*
|
2022-07-19 09:01:47 +00:00
|
|
|
- tls >= 1.6.0 && < 1.7
|
2021-01-13 19:49:45 +00:00
|
|
|
- transformers == 0.5.*
|
2020-10-21 18:04:15 +00:00
|
|
|
- unliftio == 0.2.*
|
2021-05-23 11:00:18 +00:00
|
|
|
- unliftio-core == 0.2.*
|
2021-05-17 21:33:12 +00:00
|
|
|
- websockets == 0.12.*
|
2021-04-14 20:20:08 +00:00
|
|
|
- x509 == 1.7.*
|
2021-12-22 19:24:58 +00:00
|
|
|
- x509-store == 1.6.*
|
|
|
|
- x509-validation == 1.6.*
|
2020-10-21 18:04:15 +00:00
|
|
|
|
2022-04-08 14:42:22 +00:00
|
|
|
flags:
|
|
|
|
swift:
|
|
|
|
description: Enable swift JSON format
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
|
|
|
when:
|
|
|
|
- condition: flag(swift)
|
2022-04-21 14:16:18 +00:00
|
|
|
cpp-options:
|
2022-04-08 14:42:22 +00:00
|
|
|
- -DswiftJSON
|
|
|
|
|
2020-10-21 18:04:15 +00:00
|
|
|
library:
|
|
|
|
source-dirs: src
|
2020-10-11 10:00:25 +00:00
|
|
|
|
|
|
|
executables:
|
2020-10-21 18:04:15 +00:00
|
|
|
smp-server:
|
|
|
|
source-dirs: apps/smp-server
|
2020-10-11 10:00:25 +00:00
|
|
|
main: Main.hs
|
2020-10-21 18:04:15 +00:00
|
|
|
dependencies:
|
2022-04-03 09:37:32 +00:00
|
|
|
- simplexmq
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
|
|
|
|
ntf-server:
|
|
|
|
source-dirs: apps/ntf-server
|
|
|
|
main: Main.hs
|
|
|
|
dependencies:
|
2021-05-02 20:07:45 +00:00
|
|
|
- simplexmq
|
2020-10-21 09:08:50 +00:00
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
2020-10-12 12:21:40 +00:00
|
|
|
|
2020-12-25 16:46:02 +00:00
|
|
|
smp-agent:
|
|
|
|
source-dirs: apps/smp-agent
|
|
|
|
main: Main.hs
|
|
|
|
dependencies:
|
2021-05-02 20:07:45 +00:00
|
|
|
- simplexmq
|
2020-12-25 16:46:02 +00:00
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
|
2020-10-13 11:43:44 +00:00
|
|
|
tests:
|
|
|
|
smp-server-test:
|
|
|
|
source-dirs: tests
|
|
|
|
main: Test.hs
|
2020-10-13 17:17:41 +00:00
|
|
|
dependencies:
|
2021-05-02 20:07:45 +00:00
|
|
|
- simplexmq
|
2020-10-13 17:17:41 +00:00
|
|
|
- hspec == 2.7.*
|
2020-10-15 07:37:36 +00:00
|
|
|
- hspec-core == 2.7.*
|
|
|
|
- HUnit == 1.6.*
|
2021-05-23 11:00:18 +00:00
|
|
|
- QuickCheck == 2.14.*
|
2021-05-01 21:07:25 +00:00
|
|
|
- timeit == 2.0.*
|
2020-10-13 11:43:44 +00:00
|
|
|
|
2020-10-12 12:21:40 +00:00
|
|
|
ghc-options:
|
2020-10-13 17:17:41 +00:00
|
|
|
# - -haddock
|
2020-10-12 12:21:40 +00:00
|
|
|
- -Wall
|
|
|
|
- -Wcompat
|
|
|
|
- -Werror=incomplete-patterns
|
|
|
|
- -Wredundant-constraints
|
|
|
|
- -Wincomplete-record-updates
|
|
|
|
- -Wincomplete-uni-patterns
|
|
|
|
- -Wunused-type-patterns
|