2021-05-02 15:26:25 -05:00
|
|
|
name: simplex-chat
|
2024-02-21 08:26:46 -06:00
|
|
|
version: 5.5.5.0
|
2021-05-02 15:26:25 -05:00
|
|
|
#synopsis:
|
|
|
|
#description:
|
|
|
|
homepage: https://github.com/simplex-chat/simplex-chat#readme
|
|
|
|
license: AGPL-3
|
2022-01-12 15:18:54 -06:00
|
|
|
author: simplex.chat
|
|
|
|
maintainer: chat@simplex.chat
|
|
|
|
copyright: 2020-22 simplex.chat
|
2021-05-02 15:26:25 -05:00
|
|
|
category: Web, System, Services, Cryptography
|
|
|
|
extra-source-files:
|
|
|
|
- README.md
|
2023-08-01 14:54:51 -05:00
|
|
|
- cabal.project
|
2021-05-02 15:26:25 -05:00
|
|
|
|
2021-05-09 04:53:18 -05:00
|
|
|
dependencies:
|
2023-08-24 15:56:37 -05:00
|
|
|
- aeson == 2.2.*
|
2022-01-06 17:11:53 -06:00
|
|
|
- ansi-terminal >= 0.10 && < 0.12
|
2022-02-06 10:18:01 -06:00
|
|
|
- async == 2.2.*
|
2022-01-29 14:21:37 -06:00
|
|
|
- attoparsec == 0.14.*
|
2021-06-10 14:34:52 -05:00
|
|
|
- base >= 4.7 && < 5
|
2021-07-11 06:22:22 -05:00
|
|
|
- base64-bytestring >= 1.0 && < 1.3
|
2021-07-16 01:40:55 -05:00
|
|
|
- composition == 1.0.*
|
2023-04-05 15:59:12 -05:00
|
|
|
- constraints >= 0.12 && < 0.14
|
2021-05-09 04:53:18 -05:00
|
|
|
- containers == 0.6.*
|
2023-12-13 05:20:03 -06:00
|
|
|
- crypton == 0.34.*
|
2023-09-27 05:40:19 -05:00
|
|
|
- data-default >= 0.7 && < 0.8
|
2021-07-05 14:05:07 -05:00
|
|
|
- directory == 1.3.*
|
2022-08-31 12:07:34 -05:00
|
|
|
- direct-sqlcipher == 2.3.*
|
2022-02-24 01:55:18 -06:00
|
|
|
- email-validate == 2.3.*
|
2021-07-07 16:46:38 -05:00
|
|
|
- exceptions == 0.10.*
|
2021-07-05 14:05:07 -05:00
|
|
|
- filepath == 1.4.*
|
2022-05-17 02:37:00 -05:00
|
|
|
- http-types == 0.12.*
|
2023-11-04 14:04:40 -05:00
|
|
|
- http2 >= 4.2.2 && < 4.3
|
2023-12-04 04:01:37 -06:00
|
|
|
- memory == 0.18.*
|
|
|
|
- mtl >= 2.3.1 && < 3.0
|
2022-07-23 08:49:04 -05:00
|
|
|
- network >= 3.1.2.7 && < 3.2
|
2023-12-04 04:01:37 -06:00
|
|
|
- network-transport == 0.5.6
|
2022-01-06 10:03:45 -06:00
|
|
|
- optparse-applicative >= 0.15 && < 0.17
|
2022-08-18 02:35:31 -05:00
|
|
|
- random >= 1.1 && < 1.3
|
2022-12-13 08:52:34 -06:00
|
|
|
- record-hasfield == 1.0.*
|
2021-07-07 16:46:38 -05:00
|
|
|
- simple-logger == 0.1.*
|
2023-03-09 05:01:22 -06:00
|
|
|
- simplexmq >= 5.0
|
2022-07-23 08:49:04 -05:00
|
|
|
- socks == 0.6.*
|
2022-08-30 06:49:07 -05:00
|
|
|
- sqlcipher-simple == 0.4.*
|
2021-07-12 13:00:03 -05:00
|
|
|
- stm == 2.5.*
|
2021-07-05 14:05:07 -05:00
|
|
|
- terminal == 0.2.*
|
2023-12-20 00:38:39 -06:00
|
|
|
- time == 1.12.*
|
2023-12-13 05:20:03 -06:00
|
|
|
- tls >= 1.7.0 && < 1.8
|
2021-07-05 14:05:07 -05:00
|
|
|
- unliftio == 0.2.*
|
|
|
|
- unliftio-core == 0.2.*
|
2023-12-04 04:01:37 -06:00
|
|
|
- zip == 2.0.*
|
2022-06-06 10:23:47 -05:00
|
|
|
|
2023-01-16 03:13:46 -06:00
|
|
|
flags:
|
|
|
|
swift:
|
|
|
|
description: Enable swift JSON format
|
|
|
|
manual: True
|
|
|
|
default: False
|
|
|
|
|
|
|
|
when:
|
|
|
|
- condition: flag(swift)
|
|
|
|
cpp-options:
|
|
|
|
- -DswiftJSON
|
2023-12-04 04:01:37 -06:00
|
|
|
- condition: impl(ghc >= 9.6.2)
|
|
|
|
dependencies:
|
|
|
|
- bytestring == 0.11.*
|
2024-01-30 17:16:39 -06:00
|
|
|
- process == 1.6.*
|
2023-12-04 04:01:37 -06:00
|
|
|
- template-haskell == 2.20.*
|
|
|
|
- text >= 2.0.1 && < 2.2
|
|
|
|
- condition: impl(ghc < 9.6.2)
|
|
|
|
dependencies:
|
|
|
|
- bytestring == 0.10.*
|
2024-01-30 17:16:39 -06:00
|
|
|
- process >= 1.6 && < 1.6.18
|
2023-12-04 04:01:37 -06:00
|
|
|
- template-haskell == 2.16.*
|
|
|
|
- text >= 1.2.3.0 && < 1.3
|
2023-01-16 03:13:46 -06:00
|
|
|
|
2021-05-09 04:53:18 -05:00
|
|
|
library:
|
|
|
|
source-dirs: src
|
|
|
|
|
2021-05-02 15:26:25 -05:00
|
|
|
executables:
|
2021-06-25 12:18:24 -05:00
|
|
|
simplex-chat:
|
|
|
|
source-dirs: apps/simplex-chat
|
|
|
|
main: Main.hs
|
|
|
|
dependencies:
|
|
|
|
- simplex-chat
|
2022-05-13 13:44:03 -05:00
|
|
|
- network == 3.1.*
|
|
|
|
- websockets == 0.12.*
|
2021-05-02 15:26:25 -05:00
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
|
2022-04-04 02:14:42 -05:00
|
|
|
simplex-bot:
|
|
|
|
source-dirs: apps/simplex-bot
|
|
|
|
main: Main.hs
|
|
|
|
dependencies:
|
|
|
|
- simplex-chat
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
|
|
|
|
simplex-bot-advanced:
|
|
|
|
source-dirs: apps/simplex-bot-advanced
|
|
|
|
main: Main.hs
|
|
|
|
dependencies:
|
|
|
|
- simplex-chat
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
|
2023-02-14 01:57:27 -06:00
|
|
|
simplex-broadcast-bot:
|
2023-08-01 14:54:51 -05:00
|
|
|
source-dirs: apps/simplex-broadcast-bot/src
|
|
|
|
main: ../Main.hs
|
|
|
|
dependencies:
|
|
|
|
- simplex-chat
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
|
|
|
|
simplex-directory-service:
|
|
|
|
source-dirs: apps/simplex-directory-service/src
|
|
|
|
main: ../Main.hs
|
2023-02-14 01:57:27 -06:00
|
|
|
dependencies:
|
|
|
|
- simplex-chat
|
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
|
|
|
|
2021-05-09 04:53:18 -05:00
|
|
|
tests:
|
|
|
|
simplex-chat-test:
|
2023-08-01 14:54:51 -05:00
|
|
|
source-dirs:
|
|
|
|
- tests
|
|
|
|
- apps/simplex-broadcast-bot/src
|
|
|
|
- apps/simplex-directory-service/src
|
2021-05-09 04:53:18 -05:00
|
|
|
main: Test.hs
|
2024-01-30 17:16:39 -06:00
|
|
|
when:
|
|
|
|
- condition: impl(ghc >= 9.6.2)
|
|
|
|
dependencies:
|
|
|
|
- hspec == 2.11.*
|
|
|
|
- condition: impl(ghc < 9.6.2)
|
|
|
|
dependencies:
|
|
|
|
- hspec == 2.7.*
|
2021-05-09 04:53:18 -05:00
|
|
|
dependencies:
|
2023-10-11 13:11:01 -05:00
|
|
|
- QuickCheck == 2.14.*
|
2021-05-09 04:53:18 -05:00
|
|
|
- simplex-chat
|
2021-07-07 16:46:38 -05:00
|
|
|
- async == 2.2.*
|
2022-07-04 05:15:25 -05:00
|
|
|
- deepseq == 1.4.*
|
2023-10-11 13:11:01 -05:00
|
|
|
- generic-random == 1.5.*
|
2021-08-05 14:51:48 -05:00
|
|
|
- network == 3.1.*
|
2023-04-03 07:31:18 -05:00
|
|
|
- silently == 1.2.*
|
2021-07-07 16:46:38 -05:00
|
|
|
- stm == 2.5.*
|
2022-03-23 06:37:51 -05:00
|
|
|
ghc-options:
|
|
|
|
- -threaded
|
2021-05-09 04:53:18 -05:00
|
|
|
|
2021-05-02 15:26:25 -05:00
|
|
|
ghc-options:
|
|
|
|
# - -haddock
|
|
|
|
- -Wall
|
|
|
|
- -Wcompat
|
|
|
|
- -Werror=incomplete-patterns
|
|
|
|
- -Wredundant-constraints
|
|
|
|
- -Wincomplete-record-updates
|
|
|
|
- -Wincomplete-uni-patterns
|
|
|
|
- -Wunused-type-patterns
|