diff options
author | tomsmeding <tom.smeding@gmail.com> | 2019-08-19 13:00:05 +0200 |
---|---|---|
committer | tomsmeding <tom.smeding@gmail.com> | 2019-08-19 13:17:48 +0200 |
commit | 4e5590d148a7f2b517dce18c231b9d4cb0b1d19f (patch) | |
tree | dd04cecda1525f826f06752102ea2a58754fdbf7 /terminal-io.cabal |
Import of source files
Diffstat (limited to 'terminal-io.cabal')
-rw-r--r-- | terminal-io.cabal | 53 |
1 files changed, 53 insertions, 0 deletions
diff --git a/terminal-io.cabal b/terminal-io.cabal new file mode 100644 index 0000000..531dc9d --- /dev/null +++ b/terminal-io.cabal @@ -0,0 +1,53 @@ +cabal-version: 2.0 +name: terminal-io +version: 0.1.0.0 +-- synopsis: +-- description: +-- bug-reports: +homepage: https://git.tomsmeding.com/terminal-io-hs +license: MIT +license-file: LICENSE +author: Tom Smeding +maintainer: tom.smeding@gmail.com +-- copyright: +category: Graphics +build-type: Simple + +library + ghc-options: -Wall -O3 + hs-source-dirs: src + default-language: Haskell2010 + default-extensions: + LambdaCase + MultiWayIf + exposed-modules: + System.IO.Terminal + System.IO.Terminal.Characters + System.IO.Terminal.Input + System.IO.Terminal.Input.Key + System.IO.Terminal.Render + other-modules: + Numeric.InfInt + System.IO.Terminal.IO + System.IO.Terminal.Input.SeqParser + Utils.Monad + Utils.Time + build-depends: + base >= 4 && < 5, + ansi-terminal, + array, + colour, + containers, + mtl, + terminal-size, + time + if os(linux) + cpp-options: -DOS_LINUX + other-modules: System.IO.Terminal.Input.Posix + if os(darwin) + cpp-options: -DOS_MACOS + other-modules: System.IO.Terminal.Input.Posix + if os(windows) + cpp-options: -DOS_WINDOWS + other-modules: System.IO.Terminal.Input.Windows + build-depends: hidden-char |