cabal-version: 2.4
name: termbox-banana
version: 0.2.0
category: User Interfaces
description:
A @reactive-banana@-based interface to writing @termbox@ programs.
.
See also the <https://hackage.haskell.org/termbox termbox> package for a
lower-level, imperative interface.
.
__/NOTE/__: The dependencies listed on Hackage are misleading! Most are only
used in the examples provided, which are built only if the @build-examples@
flag is explicitly enabled.
.
The actual dependencies of the @termbox-banana@ library are only:
.
* base
* reactive-banana
* termbox
synopsis: reactive-banana + termbox
author: Mitchell Rosen
maintainer: Mitchell Rosen <mitchellwrosen@gmail.com>
homepage: https://github.com/mitchellwrosen/termbox-banana
bug-reports: https://github.com/mitchellwrosen/termbox-banana/issues
copyright: (c) 2018-2019, Mitchell Rosen
license: BSD-3-Clause
license-file: LICENSE
build-type: Simple
tested-with: GHC == 8.4.4, GHC == 8.6.5
extra-source-files:
.travis.yml
CHANGELOG.md
README.md
flag build-examples
description: Build example executables
default: False
manual: True
library
build-depends:
base ^>= 4.10 || ^>= 4.11 || ^>= 4.12
, reactive-banana ^>= 1.2
, termbox ^>= 0.2
default-language:
Haskell2010
exposed-modules:
Termbox.Banana
ghc-options:
-Wall
-Wcompat
-Widentities
-Wincomplete-record-updates
-Wincomplete-uni-patterns
-Wmissing-export-lists
-Wnoncanonical-monad-instances
-Wnoncanonical-monadfail-instances
-Wpartial-fields
-Wredundant-constraints
-fprint-expanded-synonyms
-fprint-explicit-foralls
-fprint-explicit-kinds
-fprint-unicode-syntax
hs-source-dirs:
src
executable termbox-banana-example-echo
if !flag(build-examples)
buildable: False
build-depends:
base,
reactive-banana,
termbox-banana,
default-language:
Haskell2010
ghc-options:
-Wall -threaded "-with-rtsopts=-N"
hs-source-dirs:
examples
main-is:
Echo.hs
executable termbox-banana-example-hoogle
if !flag(build-examples)
buildable: False
build-depends:
aeson,
async,
base,
http-conduit,
lens,
lens-aeson,
mtl,
reactive-banana,
stm,
tagsoup,
termbox-banana,
default-language:
Haskell2010
ghc-options:
-Wall -threaded "-with-rtsopts=-N"
hs-source-dirs:
examples
main-is:
Hoogle.hs