packages feed

sifflet-2.3.0: sifflet.cabal

name: sifflet
version: 2.3.0
cabal-version: >= 1.22
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: (C) 2009-2016 Gregory D. Weber
author: Gregory D. Weber
maintainer: "gdweber" ++ drop 3 "abc@" ++ "iue.edu"
stability: Experimental.
homepage: http://pages.iu.edu/~gdweber/software/sifflet/
bug-reports: mailto:"gdweber" ++ drop 3 "abc@" ++ "iue.edu"
synopsis: Simple, visual, functional language for learning about recursion.
description: Sifflet is a visual, functional programming language.
  It is intended as an aid for learning about recursion.
  Sifflet users can make programs by drawing diagrams
  to connect functions and other units.
  Sifflet shows the intermediate steps of the computation
  on the diagram, and can expand function calls to show further details.
category: Language, Visual Programming
tested-with: GHC == 7.10.3
data-files: sifflet.scm sifflet.py siffml-1.0.dtd siffml-1.0.rnc siffml-2.0.rnc 
data-dir: datafiles
extra-source-files: README.md ChangeLog.md tests/system-tests.sh
-- extra-tmp-files:

source-repository head
  type: darcs
  location: http://hub.darcs.net/gdweber/sifflet-devel

source-repository this
  type: darcs
  location: http://hub.darcs.net/gdweber/sifflet-stable
  tag: 2.3.0
                                    
-- Executable ----------------------------------------------------------
   
executable sifflet
  main-is: sifflet.hs
  hs-source-dirs: app
  other-modules: Options
  build-depends: 
                 base >= 4.0 && < 4.9,
                 sifflet == 2.3.0             

  if !os(windows)
    build-depends: unix >= 2.3 && < 2.8
    -- extra-libraries: gdk-x11-2.0 gtk-x11-2.0
    -- includes: gtk-2.0/gtk/gtk.h, gtk-2.0/gdk/gdk.h
  buildable: True
  default-language: Haskell2010
  -- default-extensions: 
  -- other-extensions: ForeignFunctionInterface CPP
  ghc-options: -Wall

-- Library -------------------------------------------------------------
   
library

  build-depends:
    base >= 4.0 && < 4.9,
    -- Begin GTK stuff, these no longer need to have the same version numbers
    cairo >= 0.11 && < 0.14,
    glib >= 0.11 && < 0.14,
    gtk >= 0.11 && < 0.15,
    -- End GTK stuff
    containers >= 0.2 && < 0.7,
    directory >= 1.0 && < 1.4,
    filepath >= 1.1 && < 1.5,
    fgl >= 5.4 && < 5.6,
    hxt >= 9.0 && < 10.0,
    mtl >= 1.1 && < 2.3,
    parsec >= 2.1.0.1 && < 3.2, 
    process >= 1.0 && < 1.3,
    text >= 1.2 && < 1.3            
  if !os(windows)
    build-depends: unix >= 2.3 && < 2.8
  buildable: True
  default-language: Haskell2010
  default-extensions: 
  other-extensions: ForeignFunctionInterface CPP
  ghc-options: -Wall -fwarn-incomplete-uni-patterns 
  -- if os(windows)
    -- extra-libraries: gdk-2.0 gtk+-2.0
    -- includes: gtk/gtk.h, gdk/gdk.h
    -- ghc-options: -Wall --extra-include-dirs=c:/MinGW/msys/1.0/opt/gtk/include --extra-lib-dirs=c:/MinGW/msys/1.0/opt/gtk/lib
    -- ghc-options: -Wall --extra-include-dirs=/c/MinGW/msys/1.0/opt/gtk/include --extra-lib-dirs=/c/MinGW/msys/1.0/opt/gtk/lib
    -- include-dirs: c:/MinGW/msys/1.0/opt/gtk/include
    -- extra-lib-dirs: c:/MinGW/msys/1.0/opt/gtk/lib
  if !os(windows)
    -- extra-libraries: gdk-x11-2.0 gtk-x11-2.0
    includes: gtk-2.0/gtk/gtk.h, gtk-2.0/gdk/gdk.h
  exposed-modules: 
      Data.Number.Sifflet

    , Data.Sifflet.Functoid
    , Data.Sifflet.Geometry
    , Data.Sifflet.Tree
    , Data.Sifflet.TreeGraph
    , Data.Sifflet.TreeLayout
    , Data.Sifflet.WGraph

    , Graphics.Rendering.Sifflet.Draw
    , Graphics.Rendering.Sifflet.DrawTreeGraph
                 
    , Graphics.UI.Sifflet
    , Graphics.UI.Sifflet.Callback
    , Graphics.UI.Sifflet.Canvas
    , Graphics.UI.Sifflet.EditArgsPanel
    , Graphics.UI.Sifflet.Frame
    , Graphics.UI.Sifflet.GtkForeign
    , Graphics.UI.Sifflet.GtkUtil
    , Graphics.UI.Sifflet.LittleGtk
    , Graphics.UI.Sifflet.Tool
    , Graphics.UI.Sifflet.RPanel
    , Graphics.UI.Sifflet.Types
    , Graphics.UI.Sifflet.Window
    , Graphics.UI.Sifflet.Workspace

    , Language.Sifflet.Examples

    , Language.Sifflet.Export.Exporter
    , Language.Sifflet.Export.Haskell
    , Language.Sifflet.Export.Python
    , Language.Sifflet.Export.ToHaskell
    , Language.Sifflet.Export.ToPython
    , Language.Sifflet.Export.ToScheme

    , Language.Sifflet.Expr
    , Language.Sifflet.ExprTree
    , Language.Sifflet.Parser   
    , Language.Sifflet.TypeCheck
    , Language.Sifflet.SiffML
    , Language.Sifflet.Util

    , System.Sifflet.Paths

    , Text.Sifflet.Pretty
    , Text.Sifflet.Repr

-- Paths to data files, generated by Cabal
  other-modules: Paths_sifflet
  hs-source-dirs: lib
  build-tools:

-- Test Suite ----------------------------------------------------------

test-suite unit-tests
  type: exitcode-stdio-1.0
  build-depends:
                base >= 4.0 && < 4.9,
                cairo >= 0.11 && < 0.14,
                Cabal >= 1.22,
                containers >= 0.2 && < 0.7,
                fgl >= 5.4 && < 5.6,
                HUnit >= 1.2 && < 1.4,
                parsec >= 2.1.0.1 && < 3.2, 
                process >= 1.0 && < 1.3,
                sifflet == 2.3.0
  default-language: Haskell2010
  main-is: unit-tests.hs
  hs-source-dirs: tests
  other-modules:
                Testing.Common.ExprTreeTests,
                Testing.Common.TestStyles,
                Testing.TestUtil,
                Testing.Unit.ExprTests,
                Testing.Unit.ExprTreeTests,
                Testing.Unit.FunctionExamples,
                Testing.Unit.GraphTests,
                Testing.Unit.LayoutTests,
                Testing.Unit.ParserTests,
                Testing.Unit.ToHaskellTests,
                Testing.Unit.ToPythonTests,
                Testing.Unit.ToSchemeTests,
                Testing.Unit.TreeTests,
                Testing.Unit.TypeCheckTests,
                Testing.Unit.UtilTests