-- The name of the package.
name:                easyrender

-- The package version.  See the Haskell package versioning policy (PVP) 
-- for standards guiding when and how versions should be incremented.
-- http://www.haskell.org/haskellwiki/Package_versioning_policy
-- PVP summary:      +-+------- breaking API changes
--                   | | +----- non-breaking API additions
--                   | | | +--- code changes with no API change
version:             0.1.1.4

-- A short (one-line) description of the package.
synopsis:            User-friendly creation of EPS, PostScript, and PDF files

-- A longer description of the package.
description:         

  This module provides efficient functions for rendering vector
  graphics to a number of formats, including EPS, PostScript, and
  PDF. It provides an abstraction for multi-page documents, as well
  as a set of graphics primitives for page descriptions. 
  .
  The graphics model is similar to that of the PostScript and PDF
  languages, but we only implement a subset of their functionality.
  Care has been taken that graphics rendering is done efficiently and
  as lazily as possible; documents are rendered \"on the fly\",
  without the need to store the whole document in memory.
  .
  The provided document description model consists of two separate
  layers of abstraction:
  .
  * /drawing/ is concerned with placing marks on a fixed surface, and
  takes place in the 'Draw' monad;
  .
  * /document structure/ is concerned with a sequence of pages, their
  bounding boxes, and other meta-data. It takes place in the
  'Document' monad.
  .
  In principle, the functionality provided by EasyRender is similar to
  a subset of Cairo; however, EasyRender is lightweight and at least
  an order of magnitude faster.

-- URL for the project homepage or repository.
homepage:            http://www.mathstat.dal.ca/~selinger/easyrender/

-- The license under which the package is released.
license:             GPL-3

-- The file containing the license text.
license-file:        LICENSE

-- The package author(s).
author:              Peter Selinger

-- An email address to which users can send suggestions, bug reports, and 
-- patches.
maintainer:          selinger@mathstat.dal.ca

-- A copyright notice.
copyright:           Copyright (c) 2012-2018 Peter Selinger

-- A classification category for future use by the package catalogue
-- Hackage. These categories have not yet been specified, but the
-- upper levels of the module hierarchy make a good start.
category:            Graphics

-- The type of build used by this package.
build-type:          Simple

-- Constraint on the version of Cabal needed to build this package.
cabal-version:       1.24

-- A list of additional files to be included in source distributions
-- built with setup sdist.
extra-source-files:
  images/*.png ChangeLog

library
  -- Modules exported by the library.
  exposed-modules:     Graphics.EasyRender, Graphics.EasyRender.Auxiliary, Graphics.EasyRender.Internal
  
  -- Modules included in this library but not exported.
  -- other-modules:       
  
  -- Other library packages from which modules are imported.
  build-depends:       base >= 4.5 && < 5, zlib >=0.5, mtl >=2.1, bytestring >=0.9, containers >=0.5

  default-language: Haskell2010