diff --git a/.gitignore b/.gitignore index 2d0711a4a..8b4cc543b 100644 --- a/.gitignore +++ b/.gitignore @@ -40,7 +40,6 @@ cabal.project.local cabal.project.local~ .HTF/ .ghc.environment.* -*.cabal stack.yaml.lock # Idris diff --git a/simplex-chat.cabal b/simplex-chat.cabal new file mode 100644 index 000000000..62289d33e --- /dev/null +++ b/simplex-chat.cabal @@ -0,0 +1,147 @@ +cabal-version: 1.12 + +-- This file has been generated from package.yaml by hpack version 0.34.4. +-- +-- see: https://github.com/sol/hpack + +name: simplex-chat +version: 0.5.1 +category: Web, System, Services, Cryptography +homepage: https://github.com/simplex-chat/simplex-chat#readme +author: Evgeny Poberezkin +maintainer: evgeny@poberezkin.com +copyright: 2020 Evgeny Poberezkin +license: AGPL-3 +license-file: LICENSE +build-type: Simple +extra-source-files: + README.md + +library + exposed-modules: + Simplex.Chat + Simplex.Chat.Controller + Simplex.Chat.Help + Simplex.Chat.Input + Simplex.Chat.Markdown + Simplex.Chat.Notification + Simplex.Chat.Options + Simplex.Chat.Protocol + Simplex.Chat.Store + Simplex.Chat.Styled + Simplex.Chat.Terminal + Simplex.Chat.Types + Simplex.Chat.Util + Simplex.Chat.View + other-modules: + Paths_simplex_chat + hs-source-dirs: + src + ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Wunused-type-patterns + build-depends: + aeson ==1.5.* + , ansi-terminal ==0.10.* + , attoparsec ==0.13.* + , base >=4.7 && <5 + , base64-bytestring >=1.0 && <1.3 + , bytestring ==0.10.* + , composition ==1.0.* + , containers ==0.6.* + , cryptonite >=0.27 && <0.30 + , directory ==1.3.* + , exceptions ==0.10.* + , file-embed ==0.0.14.* + , filepath ==1.4.* + , mtl ==2.2.* + , optparse-applicative ==0.15.* + , process ==1.6.* + , simple-logger ==0.1.* + , simplexmq ==0.5.* + , sqlite-simple ==0.4.* + , stm ==2.5.* + , terminal ==0.2.* + , text ==1.2.* + , time ==1.9.* + , unliftio ==0.2.* + , unliftio-core ==0.2.* + default-language: Haskell2010 + +executable simplex-chat + main-is: Main.hs + other-modules: + Paths_simplex_chat + hs-source-dirs: + apps/simplex-chat + ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Wunused-type-patterns -threaded + build-depends: + aeson ==1.5.* + , ansi-terminal ==0.10.* + , attoparsec ==0.13.* + , base >=4.7 && <5 + , base64-bytestring >=1.0 && <1.3 + , bytestring ==0.10.* + , composition ==1.0.* + , containers ==0.6.* + , cryptonite >=0.27 && <0.30 + , directory ==1.3.* + , exceptions ==0.10.* + , file-embed ==0.0.14.* + , filepath ==1.4.* + , mtl ==2.2.* + , optparse-applicative ==0.15.* + , process ==1.6.* + , simple-logger ==0.1.* + , simplex-chat + , simplexmq ==0.5.* + , sqlite-simple ==0.4.* + , stm ==2.5.* + , terminal ==0.2.* + , text ==1.2.* + , time ==1.9.* + , unliftio ==0.2.* + , unliftio-core ==0.2.* + default-language: Haskell2010 + +test-suite simplex-chat-test + type: exitcode-stdio-1.0 + main-is: Test.hs + other-modules: + ChatClient + ChatTests + MarkdownTests + ProtocolTests + Paths_simplex_chat + hs-source-dirs: + tests + ghc-options: -Wall -Wcompat -Werror=incomplete-patterns -Wredundant-constraints -Wincomplete-record-updates -Wincomplete-uni-patterns -Wunused-type-patterns + build-depends: + aeson ==1.5.* + , ansi-terminal ==0.10.* + , async ==2.2.* + , attoparsec ==0.13.* + , base >=4.7 && <5 + , base64-bytestring >=1.0 && <1.3 + , bytestring ==0.10.* + , composition ==1.0.* + , containers ==0.6.* + , cryptonite >=0.27 && <0.30 + , directory ==1.3.* + , exceptions ==0.10.* + , file-embed ==0.0.14.* + , filepath ==1.4.* + , hspec ==2.7.* + , mtl ==2.2.* + , network ==3.1.* + , optparse-applicative ==0.15.* + , process ==1.6.* + , simple-logger ==0.1.* + , simplex-chat + , simplexmq ==0.5.* + , sqlite-simple ==0.4.* + , stm ==2.5.* + , terminal ==0.2.* + , text ==1.2.* + , time ==1.9.* + , unliftio ==0.2.* + , unliftio-core ==0.2.* + default-language: Haskell2010