packages feed

wl-pprint-terminfo-0.8: wl-pprint-terminfo.cabal

name:               wl-pprint-terminfo
category:           Control, Monads, Text
version:            0.8
cabal-version:      >= 1.6
license:            BSD3
license-file:       LICENSE
author:             Edward A. Kmett
maintainer:         Edward A. Kmett <ekmett@gmail.com>
stability:          experimental
homepage:           git://github.com/ekmett/wl-pprint-terminfo/
copyright:          Copyright (C) 2011 Edward A. Kmett
synopsis:           A color pretty printer with terminfo support
description:        A color pretty printer with terminfo support
build-type:         Simple

source-repository head
  type: git
  location: git://github.com/ekmett/wl-pprint-terminfo.git

flag Cursed
  manual: False
  default: True

library

  build-depends: 
    base             >= 4     && < 5,
    semigroups       >= 0.8   && < 0.9,
    containers       >= 0.4   && < 0.5,
    wl-pprint-extras >= 1.6   && < 1.7,
    bytestring       >= 0.9.1 && < 0.10,
    terminfo         >= 0.3.2 && < 0.4,
    transformers     >= 0.2.2 && < 0.3

  if flag(Cursed)
    extra-libraries: curses
    other-modules:
      System.Console.Terminfo.PrettyPrint.Curses
    cpp-options: -DCursed

  exposed-modules:
    System.Console.Terminfo.PrettyPrint

  ghc-options:      -Wall