hscurses-1.5.0.0: hscurses.cabal
name: hscurses
version: 1.5.0.0
license: LGPL
license-file: LICENSE
author:
John Meacham <john at repetae dot net>
Tuomo Valkonen <tuomov at iki.fi>
Don Stewart <http://www.cse.unsw.edu.au/~dons>
Stefan Wehr <http://www.stefanwehr.de>
extra-source-files: ChangeLog
copyright:
Stefan Wehr 2004 - 2011
Don Stewart 2004
Tuomo Valkonen 2004
John Meacham 2002-2004
maintainer: Stefan Wehr <http://www.stefanwehr.de>
stability: Stable
category: User-interface
synopsis: NCurses bindings for Haskell
description:
Binding to NCurses, a library of functions that manage an
application's display on character-cell terminals. Additionally,
it contains some basic widgets such as a text input widget and
a table widget.
homepage: https://github.com/skogsbaer/hscurses
cabal-version: >=1.10
build-type: Configure
tested-with:
GHC ==7.6.1
|| ==7.8
|| ==8.4.4
|| ==8.6.5
|| ==8.8.4
|| ==8.10.7
|| ==9.4.8
|| ==9.6.6
|| ==9.8.4
|| ==9.10.1
|| ==9.12.1
data-files:
cbits/config.h.in
cbits/HSCurses.h
cbits/HSCursesUtils.h
configure
configure.ac
hscurses.buildinfo.in
README.md
TODO
source-repository head
type: git
location: https://github.com/skogsbaer/hscurses
flag examples
description: Build test and example binaries
default: False
manual: True
flag debug
description: Compile with logging/tracing functions
default: False
manual: True
library
build-depends:
base >=4 && <5
, exceptions <0.11
, mtl <2.4
, time <1.13
extra-libraries: ncurses
if !os(windows)
build-depends: unix <2.9
if flag(debug)
cpp-options: -DDEBUG=1
exposed-modules:
UI.HSCurses.Curses
UI.HSCurses.CursesHelper
UI.HSCurses.Logging
UI.HSCurses.Widgets
other-modules:
UI.HSCurses.CWString
UI.HSCurses.IConv
c-sources: cbits/HSCursesUtils.c
includes:
HSCurses.h
HSCursesUtils.h
default-extensions:
CPP
ExistentialQuantification
ForeignFunctionInterface
GeneralizedNewtypeDeriving
ScopedTypeVariables
include-dirs: cbits
ghc-options:
-funbox-strict-fields -Wall -fno-warn-unused-do-bind
-fno-warn-name-shadowing
default-language: Haskell2010
executable contact-manager
if flag(examples)
build-depends:
base >=4.0 && <5
, hscurses
, mtl >=2.0 && <2.4
, pretty >=1.0 && <1.2
else
buildable: False
hs-source-dirs: example
default-language: Haskell2010
main-is: ContactManager.hs
executable key-test
if flag(examples)
build-depends:
base >=4.0 && <5
, hscurses
else
buildable: False
hs-source-dirs: tests/key-test
default-language: Haskell2010
main-is: KeyTest.hs
executable widget-test-text
if flag(examples)
build-depends:
base >=4.0 && <5
, hscurses
else
buildable: False
hs-source-dirs: tests/widget-test
default-language: Haskell2010
main-is: TextTest.hs
executable widget-test-table
if flag(examples)
build-depends:
base >=4.0 && <5
, hscurses
else
buildable: False
hs-source-dirs: tests/widget-test
default-language: Haskell2010
main-is: TableTest.hs
executable widget-test-edit
if flag(examples)
build-depends:
base >=4.0
, hscurses
else
buildable: False
hs-source-dirs: tests/widget-test
default-language: Haskell2010
main-is: EditTest.hs