packages feed

diagrams-gi-cairo-1.5: diagrams-gi-cairo.cabal

Name:                diagrams-gi-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 is intended to be
                     a drop-in replacement for diagrams-cairo, built
                     on top of the more up-to-date gi-cairo package.
                     .
                     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:            http://projects.haskell.org/diagrams
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:       >=1.10
Extra-source-files:  CHANGELOG.md, README.markdown
Tested-with:         GHC ==8.10.7 || ==9.0.2 || ==9.2.8 || ==9.4.8 || ==9.6.5 || ==9.8.2 || ==9.10.1 || ==9.12.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.14 && < 4.22,
                       text,
                       mtl,
                       filepath,
                       diagrams-core,
                       diagrams-lib,
                       gi-cairo,
                       gi-cairo-render,
                       gi-cairo-connector,
                       gi-pango,
                       gi-pangocairo,
                       colour,
                       split,
                       containers,
                       statestack,
                       JuicyPixels,
                       vector,
                       array,
                       bytestring,
                       optparse-applicative,
                       hashable

  default-language:    Haskell2010
  ghc-options: -Wall -Wincomplete-uni-patterns -Wincomplete-record-updates -Wcompat -Wnoncanonical-monad-instances -Wno-partial-type-signatures

  if !os(windows)
    cpp-options: -DCMDLINELOOP
    Build-depends:     unix