packages feed

diagrams-cairo-1.5: diagrams-cairo.cabal

Name:                diagrams-cairo
Version:             1.5
Synopsis:            Cairo backend for diagrams drawing EDSL
Description:         A full-featured backend for rendering
                     diagrams using the cairo rendering engine.
                     .
                     This ultimately depends on a C library, via
                     Haskell's FFI, and can be difficult to install on
                     some platforms. If you are just looking for a
                     quick way to visualize diagrams, try the
                     diagrams-svg backend; if you want raster output
                     like PNG, try the diagrams-rasterific backend; if
                     you want to embed diagrams in LaTeX documents,
                     try diagrams-pgf.
                     .
                     * "Diagrams.Backend.Cairo.CmdLine" - if you're
                       just getting started with diagrams, begin here.
                     .
                     * "Diagrams.Backend.Cairo" - look at this next.
                       The general API for the cairo backend.
                     .
                     * "Diagrams.Backend.Cairo.Internal" - the
                       implementation guts of the cairo backend.
                       Users should normally not need to import this
                       module.
                     .
                     * "Diagrams.Backend.Cairo.List" - render diagrams
                       to two-dimensional lists of colors (/i.e./
                       pixels).
                     .
                     * "Diagrams.Backend.Cairo.Ptr" - render diagrams
                       to buffers in memory.
Homepage:            https://diagrams.github.io
License:             BSD3
License-file:        LICENSE
Author:              Brent Yorgey
Maintainer:          diagrams-discuss@googlegroups.com
Bug-reports:         http://github.com/diagrams/diagrams-cairo/issues
Category:            Graphics
Build-type:          Simple
Cabal-version:       2.0
Extra-source-files:  README.markdown
Extra-doc-files:     CHANGELOG.md
Tested-with:         GHC ==8.8.4 || ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1
Source-repository head
  type:     git
  location: http://github.com/diagrams/diagrams-cairo.git

Library
  Exposed-modules:     Diagrams.Backend.Cairo
                       Diagrams.Backend.Cairo.CmdLine
                       Diagrams.Backend.Cairo.Internal
                       Diagrams.Backend.Cairo.List
                       Diagrams.Backend.Cairo.Ptr
                       Diagrams.Backend.Cairo.Text
  Hs-source-dirs:      src
  Build-depends:       base >=4.2 && <4.21,
                       mtl >=2.0 && <2.4,
                       filepath,
                       diagrams-core >=1.3 && <1.6,
                       diagrams-lib >=1.3 && <1.6,
                       cairo >=0.12.4 && <0.14,
                       pango >=0.12.5 && <0.14,
                       colour,
                       split >=0.1.2 && <0.3,
                       containers >=0.3 && <0.8,
                       lens >=3.8 && <5.4,
                       data-default >=0.8 && <0.9,
                       statestack >=0.2 && <0.4,
                       JuicyPixels >=3.1.3.2 && <3.4,
                       vector >=0.10.0 && <0.14,
                       array >=0.4.0 && <0.6,
                       bytestring >=0.9 && <0.12 || ^>=0.12.0,
                       optparse-applicative >=0.13 && <0.20,
                       transformers >=0.3 && <0.7,
                       hashable >=1.1 && <1.6

  default-language:    Haskell2010

  if !os(windows)
    cpp-options: -DCMDLINELOOP
    Build-depends:     unix >=2.4 && <2.9