packages feed

wxdirect-0.92.2.0: wxdirect.cabal

name:         wxdirect
version:      0.92.2.0
license:      BSD3
license-file: LICENSE
author:       Daan Leijen
maintainer:   wxhaskell-devel@lists.sourceforge.net
category:     GUI, User interfaces
synopsis:     helper tool for building wxHaskell
description:
  wxHaskell is a portable and native GUI library for Haskell. It is built on
  top of wxWidgets, a comprehensive C++ library that is portable across all
  major GUI platforms, including GTK, Windows, X11, and MacOS X. This version
  works with wxWidgets 2.9 and 3.0.
homepage:      https://wiki.haskell.org/WxHaskell
bug-reports:   http://sourceforge.net/p/wxhaskell/bugs/

cabal-version: >= 1.2
build-type:    Simple

flag splitBase
    description:    use new split base
    default:        True

library
  hs-source-dirs:
    src

  exposed-modules:
    Application.Wxdirect

executable wxdirect
  main-is: Main.hs

  other-modules: Classes
               , CompileClasses
               , CompileClassInfo
               , CompileClassTypes
               , CompileHeader
               , CompileSTC
               , DeriveTypes
               , HaskellNames
               , IOExtra
               , ParseC
               , Types

  hs-source-dirs:
    src

  build-depends:
    directory,
    parsec     >= 2.1.0 && < 4,
    strict,
    time       >= 1.0,
    filepath   <  1.5,
    process    >= 1.1   && < 1.3

  if flag(splitBase)
    build-depends:
        base       >= 4     && < 5,
        containers >= 0.2   && < 0.6
  else
    build-depends:
        base       >= 3     && < 4,
        containers >= 0.1   && < 0.3

  ghc-options: -Wall -O2
  if impl(ghc >= 6.8)
    ghc-options: -fwarn-tabs