packages feed

termbox-2.0.0: termbox.cabal

cabal-version: 2.4

category: User Interfaces
author: Mitchell Rosen
bug-reports: https://github.com/awkward-squad/termbox/issues
build-type: Simple
copyright: (c) 2018-2023 Mitchell 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/termbox/termbox-haskell
license: BSD-3-Clause
license-file: LICENSE
maintainer: Mitchell Rosen <mitchellwrosen@gmail.com>, Travis Staton <hello@travisstaton.com>
name: termbox
synopsis: termbox
tested-with: GHC == 9.4.7, GHC == 9.6.3, GHC == 9.8.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

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
  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,
    termbox-bindings-hs ^>= 0.1.1,
  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