packages feed

pandoc-pyplot-1.1.0.0: pandoc-pyplot.cabal

name:           pandoc-pyplot
version:        1.1.0.0
cabal-version:  >= 1.12
synopsis:       A Pandoc filter for including figures generated from Matplotlib
description:    A pandoc filter for including figures generated from Matplotlib. Keep the document and Python code in the same location. Output from Matplotlib is captured and included as a figure.
category:       Documentation
homepage:       https://github.com/LaurentRDC/pandoc-pyplot#readme
bug-reports:    https://github.com/LaurentRDC/pandoc-pyplot/issues
author:         Laurent P. René de Cotret
maintainer:     Laurent P. René de Cotret
license:        MIT
license-file:   LICENSE.md
build-type:     Simple
extra-source-files:
    CHANGELOG.md
    LICENSE.md
    README.md
    stack.yaml
    test/fixtures/*.py

source-repository head
    type: git
    location: https://github.com/LaurentRDC/pandoc-pyplot

library
    exposed-modules:
        Text.Pandoc.Filter.Pyplot
        Text.Pandoc.Filter.Scripting
    other-modules:
        Paths_pandoc_pyplot
    hs-source-dirs:
        src
    ghc-options: -Wall -Wcompat
    build-depends:
          base >=4 && <5
        , containers
        , directory
        , filepath
        , pandoc-types >1.12 && <2
        , temporary
        , typed-process
    default-language: Haskell2010

executable pandoc-pyplot
    main-is: Main.hs
    other-modules:
        Paths_pandoc_pyplot
    hs-source-dirs:
        executable
    ghc-options: -Wall -Wcompat -rtsopts -threaded -with-rtsopts=-N
    build-depends:
          base >=4 && <5
        , pandoc-pyplot
        , pandoc-types >1.12 && <2
    default-language: Haskell2010

test-suite tests
    type: exitcode-stdio-1.0
    hs-source-dirs:  test
    main-is:         Main.hs
    build-depends:   base                 >= 4 && < 5
                   , directory
                   , filepath
                   , pandoc-types         >= 1.12 && <= 2
                   , pandoc-pyplot
                   , tasty
                   , tasty-hunit
                   , tasty-hspec
                   , temporary
                   , hspec
                   , hspec-expectations
    default-language: Haskell2010