packages feed

termbox-2.0.0.2: termbox.cabal

cabal-version: 2.4

category: User Interfaces
author: Mitchell Dalvi Rosen, Travis Staton
bug-reports: https://github.com/awkward-squad/termbox/issues
build-type: Simple
copyright: (c) 2018-2025 Mitchell Dalvi Rosen, Travis Staton
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 the higher-level interfaces:
  .
  * @<https://hackage.haskell.org/package/termbox-banana termbox-banana>@, a @reactive-banana@ FRP interface.
  * @<https://hackage.haskell.org/package/termbox-tea termbox-tea>@, an Elm Architecture interface.
  .
  And the lower-level interfaces:
  .
  * @<https://hackage.haskell.org/package/termbox-bindings-hs termbox-bindings-hs>@, direct Haskell-flavored bindings.
  * @<https://hackage.haskell.org/package/termbox-bindings-c termbox-bindings-c>@, direct C-flavored bindings.
homepage: https://github.com/awkward-squad/termbox
license: BSD-3-Clause
license-file: LICENSE
maintainer: Mitchell Dalvi Rosen <mitchellwrosen@gmail.com>, Travis Staton <hello@travisstaton.com>
name: termbox
synopsis: termbox
tested-with: GHC == 9.8.4, GHC == 9.10.1, GHC == 9.12.2
version: 2.0.0.2

extra-doc-files:
  CHANGELOG.md

source-repository head
  type: git
  location: git://github.com/awkward-squad/termbox.git
  subdir: termbox

common component
  default-extensions:
    BlockArguments
    CApiFFI
    DeriveAnyClass
    DerivingStrategies
    DuplicateRecordFields
    LambdaCase
    PatternSynonyms
  default-language: GHC2021
  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
      || ^>= 4.20
      || ^>= 4.21,
    termbox-bindings-hs ^>= 1.0.0,
  exposed-modules: Termbox
  hs-source-dirs: src
  other-modules:
    Termbox.Internal.Color
    Termbox.Internal.Event
    Termbox.Internal.Image
    Termbox.Internal.Key
    Termbox.Internal.Main
    Termbox.Internal.Mouse
    Termbox.Internal.Pos
    Termbox.Internal.Size
    Termbox.Internal.Scene
    Termbox.Internal.Style