diagrams-svg-1.4.2.cabal 3.06 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
Name:                diagrams-svg
Version:             1.4.2
x-revision: 2
Synopsis:            SVG backend for diagrams drawing EDSL.
Homepage:            http://projects.haskell.org/diagrams/
License:             BSD3
License-file:        LICENSE
Extra-source-files:  README.md, CHANGELOG.md
Author:              Felipe Lessa, Deepak Jois
Maintainer:          diagrams-discuss@googlegroups.com
Bug-reports:         http://github.com/diagrams/diagrams-svg/issues
Stability:           Experimental
Category:            Graphics
Build-type:          Simple
Cabal-version:       >=1.10
Tested-with:         GHC == 7.8.4, GHC == 7.10.3, GHC == 8.0.2, GHC == 8.2.2, GHC == 8.4.3, GHC == 8.6.1
Description:         This package provides a modular backend for rendering
                     diagrams created with the diagrams EDSL to SVG
                     files.  It uses @lucid-svg@ to be a native
                     Haskell backend, making it suitable for use on
                     any platform.
                     .
                     The package provides the following modules:
                     .
                     * "Diagrams.Backend.SVG.CmdLine" - if you're
                       just getting started with diagrams, begin here.
                     .
                     * "Diagrams.Backend.SVG" - look at this next.
                       The general API for the SVG backend.
                     .
                     Additional documentation can be found in the
                     README file distributed with the source tarball or
                     viewable on GitHub:
                     <https://github.com/diagrams/diagrams-svg/blob/master/README.md>.
Source-repository head
  type:     git
  location: http://github.com/diagrams/diagrams-svg

Library
  Exposed-modules:     Diagrams.Backend.SVG
                       Diagrams.Backend.SVG.CmdLine
  Other-modules:       Graphics.Rendering.SVG
  Hs-source-dirs:      src
  Build-depends:       base                 >= 4.3   && < 4.13
                     , filepath
                     , mtl                  >= 1     && < 2.3
                     , bytestring           >= 0.9   && < 1.0
                     , base64-bytestring    >= 1     && < 1.1
                     , colour
                     , diagrams-core        >= 1.4   && < 1.5
                     , diagrams-lib         >= 1.4   && < 1.5
                     , monoid-extras        >= 0.3   && < 0.6
                     , svg-builder          >= 0.1   && < 0.2
                     , text                 >= 0.11  && < 1.3
                     , JuicyPixels          >= 3.1.5 && < 3.4
                     , split                >= 0.1.2 && < 0.3
                     , containers           >= 0.3   && < 0.7
                     , lens                 >= 4.0   && < 4.18
                     , hashable             >= 1.1   && < 1.3
                     , optparse-applicative >= 0.13  && < 0.15
                     , semigroups           >= 0.13  && < 0.19
  if impl(ghc < 7.6)
    build-depends:     ghc-prim

  Ghc-options:         -Wall

  Default-language:  Haskell2010