summaryrefslogtreecommitdiff
path: root/terminal-io.cabal
diff options
context:
space:
mode:
Diffstat (limited to 'terminal-io.cabal')
-rw-r--r--terminal-io.cabal53
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