packages feed

gtk-helpers-0.1.0: gtk-helpers.cabal

Name:                gtk-helpers
Version:             0.1.0
Synopsis:            A collection of auxiliary operations and widgets related to Gtk+
Description:         A collection of auxiliary operations and widgets related to Gtk+.
Homepage:            http://keera.co.uk/blog/community
License:             BSD3
License-file:        LICENSE
Author:              Ivan Perez
Maintainer:          ivan.perez@keera.co.uk
-- Copyright:
Stability:           Experimental
Category:            Graphics
Build-type:          Simple
Extra-source-files:  README
cabal-version: >= 1.10

Library
  default-language: Haskell2010

  Build-depends:       base >= 4 && < 5,
                       template-haskell, process, gtk, gio, glib, mtl, array

  hs-source-dirs:      src/

  -- Build-tools:
  ghc-options: -Wall

  -- Exposed-modules:
  exposed-modules: Data.Board.GameBoardIO
                 , Game.Board.BasicTurnGame
                 , Graphics.UI.Gtk.Board.TiledBoard
                 , Graphics.UI.Gtk.Board.BoardLink
                 , Graphics.UI.Gtk.Entry.FormatEntry
                 , Graphics.UI.Gtk.Entry.HighlightedEntry
                 , Graphics.UI.Gtk.Extra.Builder
                 , Graphics.UI.Gtk.Extra.BuilderTH
                 , Graphics.UI.Gtk.Helpers.Combo
                 , Graphics.UI.Gtk.Helpers.FileDialog
                 , Graphics.UI.Gtk.Helpers.MenuItem
                 , Graphics.UI.Gtk.Helpers.MessageDialog
                 , Graphics.UI.Gtk.Helpers.ModelViewNotebookSync
                 , Graphics.UI.Gtk.Helpers.ModelViewPath
                 , Graphics.UI.Gtk.Helpers.Multiline.TextBuffer
                 , Graphics.UI.Gtk.Helpers.Pixbuf
                 , Graphics.UI.Gtk.Helpers.TreeView
                 , Graphics.UI.Gtk.Layout.BackgroundContainer
                 , Graphics.UI.Gtk.Layout.DummyBin
                 , Graphics.UI.Gtk.Layout.EitherWidget
                 , Graphics.UI.Gtk.Layout.MaybeWidget
                 , System.Application

Source-Repository head
  Type:                 git
  Location:             git@github.com:keera-studios/gtk-helpers.git

-- You can disable the hlint test suite with -f-test-hlint
flag test-hlint
  default: False
  manual: True

-- You can disable the haddock coverage test suite with -f-test-doc-coverage
flag test-doc-coverage
  default: False
  manual: True

test-suite hlint
  type: exitcode-stdio-1.0
  main-is: hlint.hs
  default-language: Haskell2010
  hs-source-dirs: tests
  if !flag(test-hlint)
    buildable: False
  else
    build-depends:
      base,
      hlint >= 1.7

-- Verify that the code is thoroughly documented
test-suite haddock-coverage
  type: exitcode-stdio-1.0
  main-is: HaddockCoverage.hs
  default-language: Haskell2010
  ghc-options: -Wall
  hs-source-dirs: tests

  if !flag(test-doc-coverage)
    buildable: False
  else
    build-depends:
      base >= 4 && < 5,
      directory,
      filepath,
      process,
      regex-posix