packages feed

craftwerk-0.1: craftwerk.cabal

Name:                   craftwerk
Version:                0.1
License:	        MIT
License-file:	        LICENSE
Author:                 Malte Harder <malte.harder@gmail.com>
Maintainer:             Malte Harder <malte.harder@gmail.com>
Category:	        Graphics
Homepage:               http://mahrz.github.com/craftwerk.html
Synopsis:	        2D graphics library with integrated TikZ output.
Description:            A high-level and easy to use graphics library
                        with integrated TikZ output.
                        .
                        Craftwerk is a high-level 2D vector graphics library for output of
                        TikZ pictures that can be typeset using (pdf)LaTeX. The TikZ library
                        and documentation can be found at: <http://sourceforge.net/projects/pgf>.
                        .
                        Craftwerk tries to encapsulate the graphics backend such that figures
                        can also be rendered with a Cairo backend and quickly displayed in a
                        Gtk window. The aim is to support TikZ and Cairo seamlessly as
                        possible, meaning that graphics produced with either backend should
                        look as similar as possible. Other backends are easily written and the
                        aim is to provide generic fallback functions for features that are not
                        natively supported by some backend.
                        .
                        Thanks to Jannis Harder for some contributions and ideas to the 
                        library.

Stability:	        experimental
Build-Type:             Custom
Cabal-Version:          >=1.8

Extra-Source-Files:     LICENSE,
 		        README,
		        examples/Example1.hs
Flag tests
  Description:          Build the tests
  Default:              False

Flag examples
  Description:          Build the examples
  Default:              False

Library
  Hs-Source-Dirs:       src
  Build-Depends:        base >= 3 && < 5, mtl, vector-space >= 0.7 && < 0.8, colour >= 2.1 && < 2.4
  Exposed-Modules:      Graphics.Craftwerk.Core,
                        Graphics.Craftwerk.Core.Color,
                        Graphics.Craftwerk.Core.Style,
                        Graphics.Craftwerk.Core.Figure,
                        Graphics.Craftwerk.Core.Driver.Tikz,
                        Graphics.Craftwerk.Core.Driver.Generic

Executable example1
  Hs-Source-Dirs:       examples
  if !flag(examples)
    Buildable:          False
  else
    Build-Depends:      base >= 3 && < 5, craftwerk
  Main-Is:              Example1.hs

Executable example2
  Hs-Source-Dirs:       examples
  if !flag(examples)
    Buildable:          False
  else
    Build-Depends:      base >= 3 && < 5, craftwerk
  Main-Is:              Example2.hs

Executable example3
  Hs-Source-Dirs:       examples
  if !flag(examples)
    Buildable:          False
  else
    Build-Depends:      base >= 3 && < 5, craftwerk
  Main-Is:              Example3.hs

Executable test-craftwerk
  Hs-Source-Dirs:       test
  Main-Is:		Test.hs
  Other-Modules:        Graphics.Craftwerk.Core.Test
  if !flag(tests)
    Buildable:	        False
  else
    Build-Depends:      base >= 3 && < 5,
                        craftwerk,
                        test-framework,
                        test-framework-th,
                        test-framework-hunit,
                        test-framework-quickcheck2,
                        QuickCheck,
                        HUnit

source-repository head
  type:     git
  location: git://github.com/mahrz/Craftwerk.git