termbox-1.0.0: termbox.cabal
cabal-version: 2.4
category: User Interfaces
author: Mitchell Rosen
bug-reports: https://github.com/termbox/termbox-haskell/issues
build-type: Simple
copyright: (c) 2018-2022, Mitchell Rosen
description:
This package provides a high-level wrapper around @termbox@, a simple C
library for writing text-based user interfaces: <https://github.com/termbox/termbox>
.
See also:
.
* @<https://hackage.haskell.org/package/termbox-bindings-hs termbox-bindings-hs>@ for lower-level bindings.
* @<https://hackage.haskell.org/package/termbox-bindings-c termbox-bindings-c>@ for even lower-level bindings.
homepage: https://github.com/termbox/termbox-haskell
license-file: LICENSE
license: BSD-3-Clause
maintainer: Mitchell Rosen <mitchellwrosen@gmail.com>
name: termbox
synopsis: termbox
tested-with: GHC == 9.0.2, GHC == 9.2.4, GHC == 9.4.2
version: 1.0.0
extra-source-files:
CHANGELOG.md
source-repository head
type: git
location: git://github.com/termbox/termbox-haskell.git
flag build-examples
default: False
manual: True
common component
default-extensions:
BlockArguments
CApiFFI
DeriveAnyClass
DeriveFunctor
DeriveGeneric
DerivingStrategies
DerivingVia
DuplicateRecordFields
ExistentialQuantification
FlexibleInstances
GeneralizedNewtypeDeriving
InstanceSigs
LambdaCase
NamedFieldPuns
NumericUnderscores
OverloadedStrings
PatternSynonyms
TypeApplications
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
library
import: component
build-depends:
base ^>= 4.13 || ^>= 4.14 || ^>= 4.15 || ^>= 4.16 || ^>= 4.17,
termbox-bindings-hs ^>= 0.1,
ki ^>= 1.0,
exposed-modules: Termbox
hs-source-dirs: src
other-modules:
Termbox.Internal.Cell
Termbox.Internal.Color
Termbox.Internal.Event
Termbox.Internal.Key
Termbox.Internal.Mouse
Termbox.Internal.Pos
Termbox.Internal.Size
Termbox.Internal.Scene
executable termbox-example-demo
import: component
if !flag(build-examples)
buildable: False
build-depends:
base,
ki ^>= 1.0,
termbox,
ghc-options:
-rtsopts
-threaded
hs-source-dirs: examples
main-is: Demo.hs