cabal-version: 2.4
author: Mitchell Rosen
bug-reports: https://github.com/termbox/termbox-haskell/issues
build-type: Simple
category: User Interfaces
copyright: (c) 2018-2023, Mitchell Rosen
description:
This package provides a @reactive-banana@ FRP interface to @termbox@ programs.
.
See also:
.
* @<https://hackage.haskell.org/package/termbox-tea termbox-tea>@ for an Elm Architecture interface.
homepage: https://github.com/termbox/termbox-haskell
license: BSD-3-Clause
license-file: LICENSE
maintainer: Mitchell Rosen <mitchellwrosen@gmail.com>
name: termbox-banana
synopsis: termbox + reactive-banana
tested-with: GHC == 9.2.7, GHC == 9.4.4, GHC == 9.6.1
version: 2.0.0
extra-doc-files:
CHANGELOG.md
source-repository head
type: git
location: git://github.com/awkward-squad/termbox.git
subdir: termbox-banana
flag build-examples
default: False
manual: True
common component
default-language: Haskell2010
ghc-options:
-Weverything
-Wno-all-missed-specialisations
-Wno-implicit-prelude
-Wno-missing-import-lists
-Wno-missing-local-signatures
-Wno-monomorphism-restriction
-Wno-safe
-Wno-unsafe
if impl(ghc >= 8.10)
ghc-options:
-Wno-missing-safe-haskell-mode
-Wno-prepositive-qualified-module
if impl(ghc >= 9.2)
ghc-options:
-Wno-missing-kind-signatures
if impl(ghc >= 9.8)
ghc-options:
-Wno-missing-role-annotations
library
import: component
build-depends:
base ^>= 4.13 || ^>= 4.14 || ^>= 4.15 || ^>= 4.16 || ^>= 4.17 || ^>= 4.18 || ^>= 4.19,
reactive-banana ^>= 1.3,
termbox ^>= 2.0.0,
default-extensions:
BlockArguments
DerivingStrategies
GeneralizedNewtypeDeriving
InstanceSigs
LambdaCase
NamedFieldPuns
TypeApplications
exposed-modules: Termbox.Banana
hs-source-dirs: src
executable termbox-banana-example-quick-start
import: component
if !flag(build-examples)
buildable: False
build-depends:
base,
reactive-banana,
termbox-banana,
hs-source-dirs: examples
main-is: QuickStart.hs