File terminal-size.cabal of Package ghc-terminal-size

name:                terminal-size
version:             0.3.4
x-revision: 1
synopsis:            Get terminal window height and width
description:
  Get terminal window height and width without ncurses dependency.
license:             BSD3
license-file:        LICENSE
author:              Andreas Hammar, Matvey Aksenov
maintainer:          matvey.aksenov@gmail.com
category:            System
build-type:          Simple
cabal-version:       >= 1.10
extra-source-files:
  README.markdown
  CHANGELOG.markdown

source-repository head
  type:     git
  location: https://github.com/biegunka/terminal-size

source-repository this
  type:     git
  location: https://github.com/biegunka/terminal-size
  tag:      0.3.4

library
  default-language:
    Haskell2010

  build-depends:
    base >= 4 && < 5
  if impl(ghc >= 7.2 && < 7.6)
     build-depends:
       ghc-prim
  if os(windows)
     build-depends:
       process,
       Win32 >= 2.13.2.0 && < 2.15

  build-tools:
    hsc2hs
  hs-source-dirs:
    src
  exposed-modules:
    System.Console.Terminal.Size

  other-modules:
    System.Console.Terminal.Common
  if os(Windows)
    other-modules:
      System.Console.Terminal.Windows
  else
    other-modules:
      System.Console.Terminal.Posix

  ghc-options:
    -Wall
    -fno-warn-unused-do-bind
openSUSE Build Service is sponsored by