packages feed

lgtk-0.4: lgtk.cabal

name:               lgtk
version:            0.4
category:           GUI
synopsis:           lens-based API for Gtk
description:
    The main interface module of LGtk is "GUI.MLens.Gtk".
    .
    See also <http://people.inf.elte.hu/divip/LGtk/index.html>
stability:          experimental
license:            BSD3
license-file:       LICENSE
author:             Péter Diviánszky
homepage:           http://people.inf.elte.hu/divip/LGtk/index.html
maintainer:         divipp@gmail.com
cabal-version:      >= 1.8
build-type:         Simple


library

  hs-source-dirs:
                    src
  build-depends:
                    base < 5
                  , containers
                  , directory

                  , mtl
                  , control-monad-free

                  , gtk
  exposed-modules:
                    Control.MLens
                    Control.MLens.Unsafe

                    GUI.MLens.Gtk
                    GUI.MLens.Gtk.ADTEditor

                    GUI.MLens.Gtk.Demos.Tri
                    GUI.MLens.Gtk.Demos.IntListEditor
                    GUI.MLens.Gtk.Demos.TEditor
  other-modules:
                    Data.MLens
                    Data.MLens.Ref

                    Control.MLens.NewRef
                    Control.MLens.NewRef.Unsafe
                    Control.MLens.ExtRef
                    Control.MLens.ExtRef.Pure
                    Control.MLens.ExtRef.Test

                    GUI.MLens.Gtk.IO
                    GUI.MLens.Gtk.Interface
  ghc-options: 
                    -Wall 
                    -fno-warn-incomplete-patterns 
                    -fno-warn-name-shadowing 
                    -fno-warn-missing-signatures 
                    -fno-warn-orphans
                    -fno-warn-type-defaults

executable lgtkdemo

  build-depends:
                    base < 5
                  , mtl
                  , lgtk
  main-is:
                    Main.hs
  hs-source-dirs:
                    main
  ghc-options: 
                    -Wall 
                    -fno-warn-incomplete-patterns 
                    -fno-warn-name-shadowing 
                    -fno-warn-missing-signatures 
                    -fno-warn-orphans
                    -fno-warn-type-defaults