packages feed

chart-svg-0.1.3: chart-svg.cabal

cabal-version:  2.4
name:           chart-svg
version:        0.1.3
synopsis:       Charts in SVG
description:    Chart library targetting SVG.
category:       project
homepage:       https://github.com/tonyday567/chart-svg#readme
bug-reports:    https://github.com/tonyday567/chart-svg/issues
author:         Tony Day
maintainer:     tonyday567@gmail.com
copyright:      Tony Day (c) 2017
license:        BSD-3-Clause
license-file:   LICENSE
build-type:     Simple
extra-doc-files:
  other/*.svg

source-repository head
  type: git
  location: https://github.com/tonyday567/chart-svg

library
  exposed-modules:
    Chart
    Chart.Bar
    Chart.Examples
    Chart.Pixel
    Chart.Render
    Chart.Page
    Chart.Types
    Data.Colour
    Data.FormatN
  hs-source-dirs:
    src
  build-depends:
    Color >= 0.1.4,
    attoparsec >= 0.13,
    base >=4.7 && <5,
    generic-lens >= 1.2 && < 3.0,
    lucid >= 2.9,
    lens >= 4.0,
    numhask >= 0.6 && < 0.7,
    numhask-space >= 0.6 && < 0.7,
    pretty-simple >= 3.2,
    scientific >= 0.3,
    tagsoup >= 0.14,
    text >= 1.2,
    time >= 1.9,
    transformers >= 0.5,
    web-rep >= 0.7 && < 0.8
  default-language: Haskell2010
  default-extensions:
    NegativeLiterals
    NoImplicitPrelude
    OverloadedStrings
    UnicodeSyntax
  ghc-options:
    -Wall
    -Wcompat
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wredundant-constraints

executable examples
  main-is: examples.hs
  hs-source-dirs:
    app
  build-depends:
    base >=4.7 && <5,
    chart-svg,
    lens >= 4.0,
    lucid >= 2.9,
    numhask >= 0.6 && < 0.7,
    text >= 1.2,
    transformers >= 0.5,
    unordered-containers >= 0.2.10,
    web-rep >= 0.7 && < 0.8
  default-language: Haskell2010
  default-extensions:
    NegativeLiterals
    NoImplicitPrelude
    OverloadedStrings
    UnicodeSyntax
  ghc-options:
    -Wall
    -Wcompat
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wredundant-constraints

executable venn
  main-is: venn.hs
  hs-source-dirs:
    app
  build-depends:
    base >=4.7 && <5,
    containers >= 0.6,
    chart-svg,
    generic-lens >= 1.2 && < 3.0,
    lucid >= 2.9,
    lens >= 4.0,
    numhask >= 0.6 && < 0.7,
    numhask-space >= 0.6 && < 0.7,
    text >= 1.2,
    transformers >= 0.5,
    unordered-containers >= 0.2.10,
    web-rep >= 0.7 && < 0.8
  default-language: Haskell2010
  default-extensions:
    NegativeLiterals
    NoImplicitPrelude
    OverloadedStrings
    UnicodeSyntax
  ghc-options:
    -Wall
    -Wcompat
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wredundant-constraints

test-suite test
  type: exitcode-stdio-1.0
  main-is: test.hs
  hs-source-dirs:
    test
  build-depends:
    base >=4.7 && <5,
    chart-svg,
    doctest >= 0.16,
    numhask >= 0.6 && < 0.7
  default-language: Haskell2010
  default-extensions:
    NegativeLiterals
    NoImplicitPrelude
    OverloadedStrings
    UnicodeSyntax
  ghc-options:
    -Wall
    -Wcompat
    -Wincomplete-record-updates
    -Wincomplete-uni-patterns
    -Wredundant-constraints
    -funbox-strict-fields